Turn a ~$5 AliExpress clock into a physical AI usage dashboard (Claude, Codex, multi-account). No firmware flashing.
Focus on five clock faces and four web themes
click6067-ship-it1147864528da
diff --git a/README.ko.md b/README.ko.mdindex 86ebb3b..db6a099 100644--- a/README.ko.md+++ b/README.ko.md@@ -27,9 +27,9 @@ cp config.example.json .runtime/config.json### 화면 스타일-웹의 **Clock display**에서 시계 화면 11종을 미리 보고 고릅니다. 새 6종-**Digital / Neon / Pixel Retro / Modern / Sakura / Sci-Fi HUD**는 같은 이름의 웹 테마와-같은 글꼴·장식·게이지를 씁니다. **Apply to clock**을 누르면 선택을 저장하고 같은 계정+웹의 **Clock display**에서 시계 화면 5종을 미리 보고 고릅니다.+**Digital / Neon / Pixel Retro / Sci-Fi HUD**는 같은 이름의 웹 테마와 같은 글꼴·장식·게이지를+쓰고, 원래의 **Pixel**도 남아 있습니다. **Apply to clock**을 누르면 선택을 저장하고 같은 계정캐시로 기기에 전송합니다. 미리보기만 선택하면 시계에는 적용되지 않습니다.| Theme | 240×240 화면 표현 |@@ -37,20 +37,18 @@ cp config.example.json .runtime/config.json| Digital | 녹색 형광 터미널, 7세그먼트 숫자(꺼진 칸 표시), 호박색 리셋 시간 || Neon | 발광 카드 테두리, 아이콘 웰, 흰 숫자와 공급자 색 번짐, 둥근 칸 게이지 || Pixel Retro | 픽셀 프레임, 공급자별 픽셀 풍경, 마스코트, HP 블록 게이지 |-| Modern | 차분한 카드, 큰 숫자, 세로 구분선과 리셋 열 |-| Sakura | 밝은 종이색, 세리프 숫자, 꽃잎 장식, 분홍 칸 게이지 || Sci-Fi HUD | 모서리를 깎은 발광 프레임, 기울어진 칸 게이지 |-기존 Pixel / Clean / Arcade / Columns / Orbit도 같은 목록에서 고를 수 있습니다.+기존 Pixel(5×7 비트맵 글꼴과 픽셀 마스코트)도 같은 목록에서 고를 수 있습니다.각 스타일은 Claude·Codex·Grok 한 계정과 10% 단위 10칸 게이지를 표시합니다.-설정의 `display_style`은 `digital`, `neon`, `retro`, `modern`, `sakura`, `hud`와 기존 5개 값을 지원하며 재시작 후에도 유지됩니다. 미설정 기본값은 기존 `pixel`입니다.-숫자는 테마 내 공통 중성색입니다. Sakura는 짙은 회색, 나머지는 밝은 회색입니다.+설정의 `display_style`은 `digital`, `neon`, `retro`, `hud`, `pixel`을 지원하며 재시작 후에도 유지됩니다. 미설정 기본값은 `pixel`입니다.+숫자는 테마 내 공통 중성색입니다.로고 색은 공급자별로 유지하며 게이지는 0–49% / 50–79% / 80–89% / 90–100% 구간마다 같은 색 계열의 두 색 그라데이션으로 표시합니다.색만으로 상태를 전달하지 않으며 실제 숫자, 칸 수, 미인증/오래된 값 표기를 함께 제공합니다.-+-새 6종은 참고 이미지를 바탕으로 코드로 그렸습니다. 원본 이미지의 가상 통계나 정적인 숫자는 포함하지 않습니다.+새 화면은 참고 이미지를 바탕으로 코드로 그렸습니다. 원본 이미지의 가상 통계나 정적인 숫자는 포함하지 않습니다.이미지를 자동으로 테마로 바꾸는 기능이나 테마 편집기는 현재 구현돼 있지 않습니다.## 인증과 사용률@@ -124,16 +122,16 @@ python3 -m token_tv.app기존 mock 서버는 예시 데이터를 `status: "mock"`으로 제공하며 실제 사용량과 구별됩니다.-### Six web appearances+### Four web appearances-The live web dashboard provides **Digital Terminal, Neon Cyberpunk, Pixel Retro,-Modern Minimal, Sakura Blossom, and Sci-Fi HUD**. Choose an appearance above the+The live web dashboard provides **Digital Terminal, Neon Cyberpunk, Pixel Retro and+Sci-Fi HUD**. Choose an appearance above thethree provider cards. It is saved in this browser and does not change the physicalclock. Account buttons A/B/C switch each provider independently; expand **morequota windows** to inspect the other reported limits. The large number alwaysnames its selected quota period.-**Clock display** opens the 240×240 preview and eleven LCD styles. Previewing+**Clock display** opens the 240×240 preview and five LCD styles. Previewingis read-only; **Apply to clock** explicitly sends the chosen LCD style. Unknownquota is shown as a dash, old readings carry an OLD label, and disconnected websessions retain their last readings with an offline notice. Grok CLI budget is@@ -141,8 +139,7 @@ not the Grok web conversation quota.Web files live in `token_tv/web/`; `tokens.css` defines appearance colors and fonts.`token_tv/web_assets.py` allowlists public files. The bundled fonts (Manrope, Orbitron,-Oxanium, Press Start 2P, Jersey 10, VT323, DSEG7 Classic, Cormorant Garamond, Chakra-Petch) are served locally with their SIL Open Font License notices; the dashboard makes+Oxanium, Press Start 2P, Jersey 10, VT323, DSEG7 Classic, Chakra Petch) are served locally with their SIL Open Font License notices; the dashboard makesno external font requests, and the clock renderer reuses the same files.For a Mini Codex account whose device-code login is unavailable, use the normal@@ -159,6 +156,6 @@ TOKEN_TV_TEST_URL=http://127.0.0.1:18787 \node scripts/test_web_browser.cjs```-The test captures six desktop/mobile appearances, tests five viewport widths,+The test captures four desktop/mobile appearances, tests five viewport widths,account choices, missing/stale/offline data, and clock controls. Its apply requestis intercepted, so running it does not change a connected clock.diff --git a/README.md b/README.mdindex 4ad331f..7cadc95 100644--- a/README.md+++ b/README.md@@ -13,23 +13,23 @@ how much of each subscription window you have used, draws a 240×240 picture andit to a GeekMagic SmallTV-style desk clock through the clock's own photo page. The clockkeeps its stock firmware and never receives a password, token or cookie.-+## What you get- **On the clock:** one account per provider, its most-used quota window, the time untilthat window resets, and a ten-cell gauge where each cell is 10%. The gauge colour changesas you approach the limit.-- **11 clock faces:** Digital, Neon, Pixel Retro, Modern, Sakura and Sci-Fi HUD, plus- Pixel, Clean, Arcade, Columns and Orbit. Pick one from the web page.-- **A web dashboard** with six matching themes, every account (A/B/C…) and every reported+- **Five clock faces:** Digital (seven-segment), Neon, Pixel Retro, Sci-Fi HUD and the+ classic Pixel. Pick one from the web page.+- **A web dashboard** with four matching themes, every account (A/B/C…) and every reportedwindow: 5-hour, weekly or CLI budget.- **Several accounts per provider.** Each account keeps its own CLI login home, so a workand a personal Claude never mix.- **Honest states.** Old readings are marked OLD, failed logins say so, and missing datashows a dash, never a fake 0%.-+## Hardwarediff --git a/docs/images/clock-faces.gif b/docs/images/clock-faces.gifindex d449d4f..d74ffe4 100644Binary files a/docs/images/clock-faces.gif and b/docs/images/clock-faces.gif differdiff --git a/docs/images/clock-faces.png b/docs/images/clock-faces.pngindex aa813cb..b89dcaf 100644Binary files a/docs/images/clock-faces.png and b/docs/images/clock-faces.png differdiff --git a/docs/images/web-neon.png b/docs/images/web-neon.pngindex 3ef500e..11ec9f1 100644Binary files a/docs/images/web-neon.png and b/docs/images/web-neon.png differdiff --git a/docs/images/web-themes.png b/docs/images/web-themes.pngindex 9cd5812..66babb8 100644Binary files a/docs/images/web-themes.png and b/docs/images/web-themes.png differdiff --git a/scripts/test_web_browser.cjs b/scripts/test_web_browser.cjsindex 70fe8fd..9a71c68 100644--- a/scripts/test_web_browser.cjs+++ b/scripts/test_web_browser.cjs@@ -4,7 +4,7 @@ const fs=require('node:fs');const {chromium}=require(process.env.PLAYWRIGHT_PACKAGE||'playwright');const url=process.env.TOKEN_TV_TEST_URL||'http://127.0.0.1:18788';const out=process.env.TOKEN_TV_SCREENSHOTS||'.runtime/web-screenshots';fs.mkdirSync(out,{recursive:true});-const themes=['digital','neon','retro','modern','sakura','hud'];+const themes=['digital','neon','retro','hud'];async function theme_and_responsive_checks(page){for(const theme of themes){await page.locator(`[data-theme-choice=${theme}]`).click();assert.equal(await page.locator('html').getAttribute('data-theme'),theme);await page.screenshot({path:`${out}/${theme}-desktop.png`,fullPage:true});for(const width of[320,375,414,768]){await page.setViewportSize({width,height:1000});assert.equal(await page.evaluate(()=>document.documentElement.scrollWidth<=innerWidth),true,`${theme} overflow at ${width}`);if(width===375)await page.screenshot({path:`${out}/${theme}-mobile.png`,fullPage:true});}await page.setViewportSize({width:1440,height:1100});}await page.reload();await page.waitForSelector('.provider-card');assert.equal(await page.locator('html').getAttribute('data-theme'),'hud');@@ -25,4 +25,4 @@ async function clock_independence_checks(page){await page.route('**/display/style',r=>{assert.deepEqual(r.request().postDataJSON(),{style:'neon'});return r.fulfill({json:{style:'neon',applied_style:'neon',status:'ok',styles:original.styles}})});await page.locator('#apply').click();await page.waitForFunction(()=>document.querySelector('#display-state').textContent==='Image sent · Neon');assert.equal((await(await page.request.get(url+'/display')).json()).style,original.style);await page.locator('#close-clock').click();assert.equal(await page.locator('#clock-toggle').getAttribute('aria-expanded'),'false');}-(async()=>{const browser=await chromium.launch({headless:true,executablePath:process.env.CHROMIUM_EXECUTABLE});try{const page=await browser.newPage({viewport:{width:1440,height:1100}});const errors=[];page.on('pageerror',e=>errors.push(e.message));await page.goto(url);await page.waitForSelector('[data-account]');await theme_and_responsive_checks(page);await account_and_state_checks(page);await clock_independence_checks(page);assert.deepEqual(errors,[]);fs.writeFileSync(`${out}/result.json`,JSON.stringify({themes,widths:[320,375,414,768,1440],accounts:7,clockUnchanged:true,pageErrors:errors,passed:true},null,2));console.log('PASS: six themes, five widths, seven accounts, stale/missing/offline states, clock independence and apply.');}finally{await browser.close()}})().catch(e=>{console.error(e);process.exitCode=1});+(async()=>{const browser=await chromium.launch({headless:true,executablePath:process.env.CHROMIUM_EXECUTABLE});try{const page=await browser.newPage({viewport:{width:1440,height:1100}});const errors=[];page.on('pageerror',e=>errors.push(e.message));await page.goto(url);await page.waitForSelector('[data-account]');await theme_and_responsive_checks(page);await account_and_state_checks(page);await clock_independence_checks(page);assert.deepEqual(errors,[]);fs.writeFileSync(`${out}/result.json`,JSON.stringify({themes,widths:[320,375,414,768,1440],accounts:7,clockUnchanged:true,pageErrors:errors,passed:true},null,2));console.log('PASS: four themes, five widths, seven accounts, stale/missing/offline states, clock independence and apply.');}finally{await browser.close()}})().catch(e=>{console.error(e);process.exitCode=1});diff --git a/tests/test_display_styles.py b/tests/test_display_styles.pyindex 5b7a780..2ad65ce 100644--- a/tests/test_display_styles.py+++ b/tests/test_display_styles.py@@ -36,16 +36,16 @@ class DisplayStyleTests(unittest.TestCase):thread.start()root = f'http://127.0.0.1:{server.server_port}'try:- with urlopen(root + '/frame/0.jpg?style=clean') as response:+ with urlopen(root + '/frame/0.jpg?style=digital') as response:preview = response.read()self.assertEqual(Image.open(io.BytesIO(preview)).size, (240, 240))self.assertEqual(prefs.snapshot()['style'], 'pixel')- request = Request(root + '/display/style', data=b'{"style":"clean"}', headers={'Content-Type': 'application/json'})+ request = Request(root + '/display/style', data=b'{"style":"digital"}', headers={'Content-Type': 'application/json'})with urlopen(request) as response:- self.assertEqual(json.load(response)['style'], 'clean')+ self.assertEqual(json.load(response)['style'], 'digital')self.assertTrue(prefs.changed.is_set())- self.assertEqual(load_config(path)['display_style'], 'clean')- self.assertEqual(DisplayPreferences(path, load_config(path)).snapshot()['style'], 'clean')+ self.assertEqual(load_config(path)['display_style'], 'digital')+ self.assertEqual(DisplayPreferences(path, load_config(path)).snapshot()['style'], 'digital')for style in STYLES:with urlopen(root + '/frame/0.jpg?style=' + style) as response:self.assertEqual(Image.open(io.BytesIO(response.read())).size, (240, 240))diff --git a/token_tv/display.py b/token_tv/display.pyindex 8566785..4ad7d88 100644--- a/token_tv/display.py+++ b/token_tv/display.py@@ -23,8 +23,7 @@ PROVIDER_INK = {'claude': '#d68e68', 'codex': '#a799e5', 'grok': '#cbd1d7'}ICON_PAPER = PROVIDER_INK['grok']FONT_MAIN = '/usr/share/fonts/truetype/dejavu/DejaVuSans'FONT_NUMBERS = '/usr/share/fonts/truetype/dejavu/DejaVuSansMono'-STYLES = ('pixel', 'clean', 'arcade', 'columns', 'orbit',- 'digital', 'neon', 'retro', 'modern', 'sakura', 'hud')+STYLES = ('pixel', 'digital', 'neon', 'retro', 'hud')# Gauge-only levels; labels/percentages always use TEXT, logos retain provider ink.GAUGE_LEVELS = ((50, '#76a99a'), (80, '#93c9b9'), (90, '#d1b275'), (101, '#d8877e'))STATUS = {'loading': 'WAIT', 'auth_required': 'LOGIN', 'identity_mismatch': 'CHECK',@@ -75,11 +74,6 @@ def time_left(reset):return str(minutes // 60) + 'h ' + str(minutes % 60) + 'm'-def right(draw, xy, text, face, color):- x, y = xy- draw.text((x - draw.textlength(text, font=face), y), text, font=face, fill=color)--def mascot(image, provider, xy, pixel=False, size=40):path = ASSETS / (provider + '-pixel.png')if path.is_file():@@ -133,39 +127,6 @@ def quota_period(value):return {'WEEK': 'WK', 'BUDGET': 'BUD'}.get(value['label'], value['label'])-def render_clean(snapshot):- image = Image.new('RGB', (240, 240), BACKGROUND)- draw = ImageDraw.Draw(image)- for index, row in enumerate(overview_rows(snapshot)):- y = 6 + 78 * index- if index:- draw.line((14, y - 3, 226, y - 3), fill=RULE)- if row['provider'] == 'grok':- draw.ellipse((16, y + 12, 59, y + 55), fill=ICON_PAPER)- mascot(image, row['provider'], (14, y + 10))- label = row['alias']- # Product labels are provider + A/B/C, rather than personal names.- if not label.startswith(row['provider'].upper() + ' '):- label = row['provider'].upper() + ' A'- draw.text((68, y + 9), label, font=font(12, True), fill=TEXT)- value = primary_window(row)- if value is None:- right(draw, (226, y + 2), '--', font(26, mono=True), MUTED)- draw.text((68, y + 48), STATUS.get(row['status'], 'NO DATA'), font=font(10, mono=True), fill=MUTED)- for segment in range(10):- x = 68 + segment * 16- draw.rounded_rectangle((x, y + 36, x + 13, y + 39), radius=1, fill=TRACK)- continue- used = max(0, min(100, value['used_percent']))- old = row['status'] != 'ok'- right(draw, (226, y + 2), str(round(used)) + '%', font(26, mono=True), TEXT)- period = {'WEEK': 'WK', 'BUDGET': 'BUD'}.get(value['label'], value['label'])- draw.text((68, y + 48), period + (' OLD' if old else ' USED'), font=font(10, mono=True), fill=MUTED)- right(draw, (226, y + 48), time_left(value.get('resets_at')), font(11, mono=True), MUTED)- horizontal_gauge(draw, (68, y + 36), used, rounded=True)- return image--# A code-native 5×7 alphabet keeps LCD text on a visible pixel grid.PIXEL_GLYPHS = {'A': '01110/10001/10001/11111/10001/10001/10001',@@ -259,86 +220,6 @@ def render_pixel(snapshot):return image-def render_arcade(snapshot):- image = Image.new('RGB', (240, 240), BACKGROUND)- draw = ImageDraw.Draw(image)- for index, row in enumerate(overview_rows(snapshot)):- y = 4 + index * 80- if index:- for x in range(14, 227, 4):- draw.point((x, y - 4), fill=RULE)- if row['provider'] == 'grok':- draw.ellipse((11, y + 14, 54, y + 57), fill=ICON_PAPER)- mascot(image, row['provider'], (8, y + 12), pixel=True)- pixel_text(draw, (70, y + 5), account_label(row))- value = primary_window(row)- used = max(0, min(100, value['used_percent'])) if value else None- pixel_text(draw, (70, y + 23), '--' if used is None else str(round(used)) + '%', scale=3)- pixel_text(draw, (226, y + 5), quota_period(value) + (' OLD' if row['status'] != 'ok' else ' USED') if value else '', align='right')- pixel_text(draw, (226, y + 29), time_left(value.get('resets_at')).replace(' ', '') if value else STATUS.get(row['status'], 'NO DATA'), scale=2 if value else 1, align='right')- horizontal_gauge(draw, (14, y + 66), used, step=22, width=20)- return image---def render_columns(snapshot):- image = Image.new('RGB', (240, 240), BACKGROUND)- draw = ImageDraw.Draw(image)- for index, row in enumerate(overview_rows(snapshot)):- center = 40 + index * 80- if index:- for y in range(9, 232, 4):- draw.point((index * 80, y), fill=RULE)- if row['provider'] == 'grok':- draw.ellipse((center - 21, 13, center + 21, 55), fill=ICON_PAPER)- mascot(image, row['provider'], (center - 24, 10), pixel=True)- label = account_label(row).split(' ', 1)- pixel_text(draw, (center - (len(label[0]) * 6 - 1) // 2, 63), label[0])- pixel_text(draw, (center - (len(label[1]) * 6 - 1) // 2, 75), label[1])- value = primary_window(row)- used = max(0, min(100, value['used_percent'])) if value else None- number = '--' if used is None else str(round(used)) + '%'- pixel_text(draw, (center - (len(number) * 6 - 1), 91), number, scale=2)- for segment in range(10):- y = 184 - segment * 8- draw.rectangle((center - 10, y, center + 9, y + 4), fill=TRACK)- height = round(max(0, min(1, used / 10 - segment)) * 5) if used is not None else 0- if height:- draw.rectangle((center - 10, y + 5 - height, center + 9, y + 4), fill=gauge_color(used, segment))- period = quota_period(value) + (' OLD' if row['status'] != 'ok' else ' USED') if value else STATUS.get(row['status'], 'NO DATA')- pixel_text(draw, (center - (len(period) * 6 - 1) // 2, 204), period)- reset = time_left(value.get('resets_at')).replace(' ', '') if value else '--'- pixel_text(draw, (center - (len(reset) * 6 - 1) // 2, 218), reset)- return image---def render_orbit(snapshot):- image = Image.new('RGB', (240, 240), BACKGROUND)- draw = ImageDraw.Draw(image)- for index, row in enumerate(overview_rows(snapshot)):- y = 8 + index * 78- center = (46, y + 31)- if row['provider'] == 'grok':- draw.ellipse((center[0] - 17, center[1] - 17, center[0] + 17, center[1] + 17), fill=ICON_PAPER)- mascot(image, row['provider'], (center[0] - 24, center[1] - 24), pixel=True, size=30)- value = primary_window(row)- used = max(0, min(100, value['used_percent'])) if value else None- for segment in range(10):- angle = math.radians(-90 + segment * 36)- x = round(center[0] + 28 * math.cos(angle)) - 3- yy = round(center[1] + 28 * math.sin(angle)) - 3- draw.rectangle((x, yy, x + 5, yy + 5), fill=TRACK)- width = round(max(0, min(1, used / 10 - segment)) * 6) if used is not None else 0- if width:- draw.rectangle((x, yy, x + width - 1, yy + 5), fill=gauge_color(used, segment))- pixel_text(draw, (92, y + 4), account_label(row))- pixel_text(draw, (226, y + 4), 'OLD' if value and row['status'] != 'ok' else 'USED', align='right')- pixel_text(draw, (92, y + 22), '--' if used is None else str(round(used)) + '%', scale=3)- pixel_text(draw, (92, y + 54), quota_period(value) if value else STATUS.get(row['status'], 'NO DATA'))- if value:- pixel_text(draw, (226, y + 54), time_left(value.get('resets_at')).replace(' ', ''), align='right')- return image--def render_page(snapshot, page=0, style='pixel'):# Keep the former second-frame URL usable while publishing only one LCD image.if page not in (0, 1):@@ -346,8 +227,7 @@ def render_page(snapshot, page=0, style='pixel'):if style not in STYLES:raise ValueError('Unknown display style')from token_tv.themes import RENDERERS- renderer = {'pixel': render_pixel, 'clean': render_clean, 'arcade': render_arcade,- 'columns': render_columns, 'orbit': render_orbit, **RENDERERS}[style]+ renderer = {'pixel': render_pixel, **RENDERERS}[style]image = renderer(snapshot)buffer = io.BytesIO()image.save(buffer, format='JPEG', quality=92, subsampling=0)diff --git a/token_tv/themes.py b/token_tv/themes.pyindex 1298388..a8f95a4 100644--- a/token_tv/themes.py+++ b/token_tv/themes.py@@ -1,4 +1,4 @@-"""Six LCD themes that match the web appearances; every reading stays live text.+"""Four LCD themes that match the web appearances; every reading stays live text.Each 240×240 frame shows one account per provider in three rows. Fonts are thebundled web fonts, gauges keep ten 10% cells, and each used-quota band is drawn as@@ -25,15 +25,11 @@ BANDS = {'digital': (('#13b884', '#3dfcb0'), ('#6fd13a', '#c3f562'), ('#ff6a2b', '#ff9d45'), ('#e8243f', '#ff5a6a')),'neon': (('#00b894', '#2cf5b0'), ('#1f7bff', '#38d6ff'), ('#ff8a1f', '#ffc23d'), ('#ff2a4a', '#ff3d81')),'retro': (('#2aa84a', '#5ee06a'), ('#8fc93a', '#d3e84a'), ('#ff7a1f', '#ffab3d'), ('#d62b3c', '#ff5a5f')),- 'modern': (('#22c4a6', '#6ee7b7'), ('#2f8cff', '#79c0ff'), ('#f08a24', '#f6c453'), ('#e8455f', '#f7768e')),- 'sakura': (('#fbdde6', '#f2b8c9'), ('#f5bccb', '#e7899f'), ('#ea98ae', '#cf5679'), ('#d65a80', '#a3264b')),'hud': (('#14a874', '#35e0a0'), ('#1a7dff', '#3cc4ff'), ('#ff7a1a', '#ffb23f'), ('#e01e3c', '#ff4d6a')),}ACCENT = {'neon': {'claude': ('#ff8a2b', '#ffd23f'), 'codex': ('#22d3ee', '#4f7bff'), 'grok': ('#d946ef', '#8b5cf6')},'retro': {'claude': ('#ff9f43', '#ffcf6b'), 'codex': ('#3ee68b', '#9bffc8'), 'grok': ('#b388ff', '#e0d0ff')},- 'modern': {'claude': ('#f4a07a',) * 2, 'codex': ('#6ea8ff',) * 2, 'grok': ('#5ee0b5',) * 2},- 'sakura': {'claude': ('#cc6440',) * 2, 'codex': ('#6b4fa0',) * 2, 'grok': ('#34283a',) * 2},'hud': {'claude': ('#ff8a3d', '#ffb47a'), 'codex': ('#2fd4ff', '#8be9ff'), 'grok': ('#3ef29b', '#9dffcb')},}@@ -382,84 +378,6 @@ def render_retro(snapshot):return cv.finish()-def render_modern(snapshot):- cv = Canvas('#0b0e13')- for r in range(160, 0, -8):- cv.back.ellipse((200 - r, -60 - r, 200 + r, -60 + r), fill=mix('#0b0e13', '#1a2130', 1 - r / 160))- man = lambda s, w=600: face('manrope.ttf', s, w)- for index, row in enumerate(overview_rows(snapshot)):- y = ROWS[index]- a = ACCENT['modern'][row['provider']][0]- used, period, old, reset = reading(row)- for x in range(5, 235):- cv.back.line((x, y + 1, x, y + ROW_H - 2), fill=mix('#131820', a, max(0, .1 - (x - 5) / 1600)))- cv.draw.rounded_rectangle((4, y, 235, y + ROW_H - 1), radius=12, outline=mix('#222934', a, .28))- cv.back.rounded_rectangle((4, y, 235, y + ROW_H - 1), radius=12, outline=None)- cv.draw.rounded_rectangle((12, y + 10, 44, y + 42), radius=9, fill=mix('#0f1319', a, .14),- outline=mix('#0f1319', a, .3))- cv.ink.alpha_composite(glyph(row['provider'], 18, a), (19, y + 17))- cv.spaced((53, y + 11), account_label(row), man(8, 700), '#9ba5b3', 1.6)- cv.text((53, y + 58), period + (' · OLD' if old else ''), man(8, 600), '#f7768e' if old else '#7a8493', anchor='ls')- number = number_text(used)- cv.text((51, y + 18), number, man(30, 600), '#f4f6f9')- if used is not None:- x = 51 + cv.draw.textlength(number, font=man(30, 600)) + 1- cv.text((x, y + 29), '%', man(15, 600), '#f4f6f9')- cv.draw.line((158, y + 11, 158, y + 50), fill='#2f3744')- clock_mark(cv, (170, y + 18), 4, a, 1)- cv.spaced((228, y + 14), 'RESETS IN', man(7, 700), '#7a8493', 1.2, anchor='ra')- cv.text((228, y + 27), reset, man(14, 500), '#f4f6f9', anchor='ra')- gauge(cv, (12, y + 62, 228, y + 66), used, band('modern', used or 0), gap=3, shape='round', radius=2,- track='#232a35', empty='#3a4352', stale=old)- return cv.finish()---def blossom(cv, cx, cy, r, petal='#f7b6c8', heart='#e0507f'):- for i in range(5):- a = math.radians(i * 72 - 90)- x, y = cx + math.cos(a) * r * .55, cy + math.sin(a) * r * .55- cv.draw.ellipse((x - r * .5, y - r * .5, x + r * .5, y + r * .5), fill=petal)- cv.draw.ellipse((cx - r * .22, cy - r * .22, cx + r * .22, cy + r * .22), fill=heart)---def render_sakura(snapshot):- plum, mauve, pink = '#4a2433', '#8a6574', '#c2557a'- cv = Canvas('#fbeef2')- for r in range(150, 0, -6):- cv.back.ellipse((250 - r, -40 - r, 250 + r, -40 + r), fill=mix('#fbeef2', '#ffe1ea', 1 - r / 150))- for x, y, rot in ((18, 80, 20), (226, 158, -30), (120, 238, 10), (60, 158, 40)):- cv.back.ellipse((x - 3, y - 2, x + 3, y + 2), fill='#f4b3c6')- serif = lambda s, w=600: face('cormorant-garamond.woff2', s, w)- lining = {'features': ['lnum']}- shadow = Image.new('RGBA', (SIZE, SIZE), (0, 0, 0, 0))- for y in ROWS:- ImageDraw.Draw(shadow).rounded_rectangle((7, y + 4, 232, y + ROW_H), radius=14, fill=(166, 74, 108, 45))- cv.base.alpha_composite(shadow.filter(ImageFilter.GaussianBlur(4)))- for index, row in enumerate(overview_rows(snapshot)):- y = ROWS[index]- a = ACCENT['sakura'][row['provider']][0]- used, period, old, reset = reading(row)- cv.back.rounded_rectangle((5, y, 234, y + ROW_H - 2), radius=14, fill='#fffafc', outline='#ffffff')- cv.back.rounded_rectangle((12, y + 10, 44, y + 42), radius=10, fill='#fbe6ed', outline='#ffffff')- cv.ink.alpha_composite(glyph(row['provider'], 18, a), (19, y + 17))- cv.text((52, y + 6), account_label(row), serif(15, 700), plum)- cv.text((51, y + 17), number_text(used), serif(31, 600), plum, **lining)- if used is not None:- x = 51 + cv.draw.textlength(number_text(used), font=serif(31, 600)) + 1- cv.text((x, y + 30), '%', serif(17, 600), plum)- cv.draw.ellipse((147, y + 13, 165, y + 31), fill='#fbe1ea')- clock_mark(cv, (156, y + 22), 5, pink, 1)- cv.spaced((228, y + 12), 'RESETS IN', face('manrope.ttf', 7, 700), mauve, 1.1, anchor='ra')- cv.text((228, y + 21), reset, serif(17, 600), plum, anchor='ra', **lining)- cv.spaced((228, y + 52), period + (' OLD' if old else ''), face('manrope.ttf', 7, 700), '#a3264b' if old else mauve, 1.4, anchor='rs')- gauge(cv, (12, y + 60, 227, y + 65), used, band('sakura', used or 0), gap=3, shape='round', radius=3,- track='#f5e3e9', empty='#e7c2cf', stale=old)- blossom(cv, 226, 8, 9)- blossom(cv, 214, 3, 6)- blossom(cv, 9, 236, 7)- return cv.finish()--def render_hud(snapshot):cv = Canvas('#03080e')for g in range(0, SIZE, 12):@@ -497,5 +415,4 @@ def render_hud(snapshot):return cv.finish(blur=2)-RENDERERS = {'digital': render_digital, 'neon': render_neon, 'retro': render_retro,- 'modern': render_modern, 'sakura': render_sakura, 'hud': render_hud}+RENDERERS = {'digital': render_digital, 'neon': render_neon, 'retro': render_retro, 'hud': render_hud}diff --git a/token_tv/web/app.js b/token_tv/web/app.jsindex 203f828..fb74e88 100644--- a/token_tv/web/app.js+++ b/token_tv/web/app.js@@ -4,8 +4,6 @@ const THEMES = [{id:'digital', name:'Digital Terminal', eyebrow:'', title:'AI USAGE DASHBOARD', note:''},{id:'neon', name:'Neon Cyberpunk', eyebrow:'Today', title:'AI USAGE', note:''},{id:'retro', name:'Pixel Retro', eyebrow:'', title:'AI PROVIDERS', note:'USAGE DASHBOARD'},- {id:'modern', name:'Modern Minimal', eyebrow:'AI providers', title:'Usage Overview', note:'Track your usage and reset times across providers.'},- {id:'sakura', name:'Sakura Blossom', eyebrow:'Dashboard', title:'AI Usage', note:'Three minds. More possibilities.'},{id:'hud', name:'Sci-Fi HUD', eyebrow:'', title:'AI PROVIDER USAGE', note:'Real-time usage monitor'}];const STATUS = {ok:'Connected', loading:'Loading', auth_required:'Login needed', identity_mismatch:'Check identity', quota_unavailable:'Quota unavailable', stale:'OLD · Previous value', rate_limited:'Retry later', error:'Fetch failed'};@@ -114,37 +112,6 @@ function buildStarfield() {for (let i = 0; i < 140; i++) {const big = i % 17 === 0, r = svgNode('rect', {x:Math.floor(rnd() * 480), y:Math.floor(rnd() * 300), width:big ? 2 : 1, height:big ? 2 : 1, fill:['#ffffff', '#b9c8ff', '#ffe9a8'][i % 3]}); if (i % 4 === 0) r.setAttribute('class', 'twinkle'); r.style.animationDelay = (-rnd() * 4).toFixed(2) + 's'; s.append(r)}$('#starfield').append(s);}-/* Sakura branch: tapered limbs, notched five-petal flowers and buds. */-function buildBranch() {- const s = svgNode('svg', {viewBox:'0 0 620 440', preserveAspectRatio:'xMaxYMin meet'});- const defs = svgNode('defs', {}), g = svgNode('radialGradient', {id:'petal-fill', cx:'50%', cy:'100%', r:'105%'});- for (const [o, c] of [['0', '#fffafc'], ['.5', '#ffd9e4'], ['1', '#f59bb7']]) g.append(svgNode('stop', {offset:o, 'stop-color':c}));- defs.append(g); s.append(defs);- const limb = (d, w, c) => s.append(svgNode('path', {d, fill:'none', stroke:c, 'stroke-width':w, 'stroke-linecap':'round'}));- limb('M640 26C574 40 520 66 470 104', 15, '#5e3540'); limb('M470 104C420 142 372 170 314 196', 10, '#6c3d48'); limb('M314 196C268 217 236 236 196 266', 6, '#7a4752');- limb('M470 104C486 150 482 196 500 246', 6, '#6c3d48'); limb('M500 246C506 270 520 290 536 304', 3.5, '#7a4752');- limb('M396 152C372 120 344 100 312 82', 5, '#6c3d48'); limb('M560 52C566 84 586 102 610 116', 4, '#6c3d48'); limb('M260 220C246 196 226 186 202 182', 3, '#7a4752');- const flower = (x, y, r, rot) => {- const f = svgNode('g', {transform:`translate(${x} ${y}) rotate(${rot}) scale(${r / 22})`});- for (let i = 0; i < 5; i++) f.append(svgNode('path', {d:'M0 0C-7-4-11-14-7-21C-4-25-1-24 0-21C1-24 4-25 7-21C11-14 7-4 0 0Z', fill:'url(#petal-fill)', stroke:'#f2a7bd', 'stroke-width':.6, transform:`rotate(${i * 72})`}));- for (let i = 0; i < 9; i++) {const a = i * 40 * Math.PI / 180, l = 6 + (i % 3); f.append(svgNode('path', {d:`M0 0L${(Math.cos(a) * l).toFixed(1)} ${(Math.sin(a) * l).toFixed(1)}`, stroke:'#d84a7a', 'stroke-width':.8})); f.append(svgNode('circle', {cx:(Math.cos(a) * l).toFixed(1), cy:(Math.sin(a) * l).toFixed(1), r:.9, fill:'#f7c25a'}))}- f.append(svgNode('circle', {r:2.6, fill:'#e0507f'}));- s.append(f);- };- const bud = (x, y, rot) => {const b = svgNode('g', {transform:`translate(${x} ${y}) rotate(${rot})`}); b.append(svgNode('ellipse', {cx:0, cy:-5, rx:3.6, ry:5.5, fill:'#f48fb1'}), svgNode('path', {d:'M-3.5-1 0 3 3.5-1 0 1Z', fill:'#7a4752'})); s.append(b)};- for (const [x, y, r, rot] of [[590,44,23,10],[548,70,26,-14],[512,40,18,30],[468,112,25,4],[430,92,20,-30],[402,150,22,18],[356,170,24,-8],[318,124,19,26],[300,200,21,40],[262,214,18,-20],[228,244,20,12],[492,196,22,-12],[514,258,18,30],[544,300,15,-6],[600,112,17,22],[198,184,14,-24],[336,92,15,8]]) flower(x, y, r, rot);- for (const [x, y, rot] of [[196,268,-140],[310,80,-60],[612,118,40],[538,306,150],[452,64,-20],[248,200,-80]]) bud(x, y, rot);- $('#branch').append(s);-}-function buildPetals() {- const rnd = seeded(9), box = $('#petals');- for (let i = 0; i < 18; i++) {- const p = el('i');- p.style.cssText = `--x:${(rnd() * 100).toFixed(1)}vw;--drift:${(rnd() * 22 - 4).toFixed(1)}vw;--size:${(8 + rnd() * 9).toFixed(1)}px;--fall:${(14 + rnd() * 12).toFixed(1)}s;--sway:${(3 + rnd() * 3).toFixed(1)}s;--delay:${(-rnd() * 26).toFixed(1)}s;--turn:${Math.round(rnd() * 360)}deg`;- box.append(p);- }-}-function resetTime(epoch) {if (!Number.isFinite(epoch) || epoch <= 0) return '—'; let m = Math.ceil((epoch - Date.now() / 1000) / 60); if (m <= 0) return 'Awaiting reset'; return m >= 1440 ? `${Math.floor(m / 1440)}d ${Math.floor(m % 1440 / 60)}h` : `${Math.floor(m / 60)}h ${pad(m % 60)}m`}function period(w) {if (!w) return 'QUOTA'; return w.label === 'BUDGET' ? 'CLI BUDGET' : w.label === 'WEEK' ? 'WEEKLY' : w.label === '5H' ? '5-HOUR' : String(w.label || 'QUOTA')}function level(v) {return v < 50 ? 'low' : v < 80 ? 'medium' : v < 90 ? 'high' : 'critical'}@@ -159,7 +126,7 @@ function gauge(value, label) {function stat(key, value, cls) {const s = el('div', undefined, 'stat' + (cls ? ' ' + cls : '')); s.append(el('span', key, 'stat-k'), typeof value === 'string' ? el('span', value, 'stat-v') : value); return s}function setTheme(theme) {- const config = THEMES.find(t => t.id === theme) || THEMES[3];+ const config = THEMES.find(t => t.id === theme) || THEMES[0];document.documentElement.dataset.theme = config.id; savePreference('tokentv.theme', config.id);$('#eyebrow').textContent = config.eyebrow; $('#eyebrow').hidden = !config.eyebrow;$('#page-title').textContent = config.title;@@ -171,7 +138,7 @@ for (const t of THEMES) {const sw = el('span', undefined, 'swatch'); sw.dataset.swatch = t.id; sw.setAttribute('aria-hidden', 'true'); sw.append(el('i'), el('i'), el('i'));b.append(sw, el('span', t.name, 'theme-name')); b.onclick = () => setTheme(t.id); $('#themes').append(b);}-setTheme(readPreference('tokentv.theme', 'modern'));+setTheme(readPreference('tokentv.theme', 'digital'));function providerCard(provider, accounts) {let a = accounts.find(x => x.key === accountChoices[provider]) || accounts[0];@@ -272,5 +239,5 @@ $('#clock-style').onchange = e => {clockChoice = e.target.value; clockError = fa$('#apply').onclick = async () => {if (applying || !clockChoice) return; applying = true; clockError = false; paintClock(); try {const r = await fetch('/display/style', {method:'POST', headers:{'Content-Type':'application/json'}, body:JSON.stringify({style:clockChoice})}); if (!r.ok) throw Error(); displayInfo = await r.json()} catch {clockError = true} finally {applying = false; paintClock(true)}};$('#frame').onerror = () => {$('#display-state').textContent = 'Clock preview unavailable. Reopen to retry.'};-$('#mascot').append(retroMascot()); buildStarfield(); buildBranch(); buildPetals(); tick();+$('#mascot').append(retroMascot()); buildStarfield(); tick();update(); refreshDisplay(); setInterval(update, 30000); setInterval(tick, 1000); setInterval(() => {if (!$('#clock-panel').hidden) refreshDisplay()}, 5000);diff --git a/token_tv/web/cormorant-garamond-LICENSE.txt b/token_tv/web/cormorant-garamond-LICENSE.txtdeleted file mode 100644index 507d70f..0000000--- a/token_tv/web/cormorant-garamond-LICENSE.txt+++ /dev/null@@ -1,93 +0,0 @@-Copyright 2015 the Cormorant Project Authors (github.com/CatharsisFonts/Cormorant)--This Font Software is licensed under the SIL Open Font License, Version 1.1.-This license is copied below, and is also available with a FAQ at:-https://scripts.sil.org/OFL---------------------------------------------------------------SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007--------------------------------------------------------------PREAMBLE-The goals of the Open Font License (OFL) are to stimulate worldwide-development of collaborative font projects, to support the font creation-efforts of academic and linguistic communities, and to provide a free and-open framework in which fonts may be shared and improved in partnership-with others.--The OFL allows the licensed fonts to be used, studied, modified and-redistributed freely as long as they are not sold by themselves. The-fonts, including any derivative works, can be bundled, embedded,-redistributed and/or sold with any software provided that any reserved-names are not used by derivative works. The fonts and derivatives,-however, cannot be released under any other type of license. The-requirement for fonts to remain under this license does not apply-to any document created using the fonts or their derivatives.--DEFINITIONS-"Font Software" refers to the set of files released by the Copyright-Holder(s) under this license and clearly marked as such. This may-include source files, build scripts and documentation.--"Reserved Font Name" refers to any names specified as such after the-copyright statement(s).--"Original Version" refers to the collection of Font Software components as-distributed by the Copyright Holder(s).--"Modified Version" refers to any derivative made by adding to, deleting,-or substituting -- in part or in whole -- any of the components of the-Original Version, by changing formats or by porting the Font Software to a-new environment.--"Author" refers to any designer, engineer, programmer, technical-writer or other person who contributed to the Font Software.--PERMISSION & CONDITIONS-Permission is hereby granted, free of charge, to any person obtaining-a copy of the Font Software, to use, study, copy, merge, embed, modify,-redistribute, and sell modified and unmodified copies of the Font-Software, subject to the following conditions:--1) Neither the Font Software nor any of its individual components,-in Original or Modified Versions, may be sold by itself.--2) Original or Modified Versions of the Font Software may be bundled,-redistributed and/or sold with any software, provided that each copy-contains the above copyright notice and this license. These can be-included either as stand-alone text files, human-readable headers or-in the appropriate machine-readable metadata fields within text or-binary files as long as those fields can be easily viewed by the user.--3) No Modified Version of the Font Software may use the Reserved Font-Name(s) unless explicit written permission is granted by the corresponding-Copyright Holder. This restriction only applies to the primary font name as-presented to the users.--4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font-Software shall not be used to promote, endorse or advertise any-Modified Version, except to acknowledge the contribution(s) of the-Copyright Holder(s) and the Author(s) or with their explicit written-permission.--5) The Font Software, modified or unmodified, in part or in whole,-must be distributed entirely under this license, and must not be-distributed under any other license. The requirement for fonts to-remain under this license does not apply to any document created-using the Font Software.--TERMINATION-This license becomes null and void if any of the above conditions are-not met.--DISCLAIMER-THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,-EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF-MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT-OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE-COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,-INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL-DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING-FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM-OTHER DEALINGS IN THE FONT SOFTWARE.diff --git a/token_tv/web/cormorant-garamond.woff2 b/token_tv/web/cormorant-garamond.woff2deleted file mode 100644index b15b093..0000000Binary files a/token_tv/web/cormorant-garamond.woff2 and /dev/null differdiff --git a/token_tv/web/index.html b/token_tv/web/index.htmlindex 501c096..0ebab1c 100644--- a/token_tv/web/index.html+++ b/token_tv/web/index.html@@ -1,5 +1,5 @@<!doctype html>-<html lang="en" data-theme="modern">+<html lang="en" data-theme="digital"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1">@@ -15,9 +15,6 @@<div class="atmosphere"></div><div class="glow glow-a"></div><div class="glow glow-b"></div><div class="glow glow-c"></div><div class="starfield" id="starfield"></div>- <div class="branch" id="branch"></div>- <div class="bokeh"><i></i><i></i><i></i><i></i></div>- <div class="petals" id="petals"></div><div class="sweep"></div></div><div class="shell">@@ -34,9 +31,9 @@<main class="screen" id="dashboard"><header class="screen-head"><div class="title-block">- <p class="eyebrow" id="eyebrow">AI providers</p>- <h1 id="page-title">Usage Overview</h1>- <p class="intro-note" id="intro-note">Track your usage and reset times across providers.</p>+ <p class="eyebrow" id="eyebrow" hidden></p>+ <h1 id="page-title">AI USAGE DASHBOARD</h1>+ <p class="intro-note" id="intro-note" hidden></p></div><div class="mascot" id="mascot" aria-hidden="true"></div><dl class="summary">diff --git a/token_tv/web/style.css b/token_tv/web/style.cssindex 1b13d74..d5f6393 100644--- a/token_tv/web/style.css+++ b/token_tv/web/style.css@@ -10,7 +10,6 @@@font-face{font-family:'Orbitron';src:url('/assets/orbitron.ttf') format('truetype');font-weight:400 900;font-display:swap}@font-face{font-family:'Oxanium';src:url('/assets/oxanium.woff2') format('woff2');font-weight:500 800;font-display:swap}@font-face{font-family:'Press Start 2P';src:url('/assets/press-start-2p.ttf') format('truetype');font-display:swap}-@font-face{font-family:'Cormorant Garamond';src:url('/assets/cormorant-garamond.woff2') format('woff2');font-weight:500 700;font-display:swap}@font-face{font-family:'Chakra Petch';src:url('/assets/chakra-petch-500.woff2') format('woff2');font-weight:500;font-display:swap}@font-face{font-family:'Chakra Petch';src:url('/assets/chakra-petch-700.woff2') format('woff2');font-weight:700;font-display:swap}@@ -51,7 +50,7 @@ select.control{appearance:none;padding-right:38px;background-image:linear-gradie/* ── Appearance picker: each tile previews its own theme. ─────────── */.theme-section{margin:2px 0 34px}.section-label{display:block;margin:0 0 10px;font:700 10px/1.2 var(--font-label);letter-spacing:.24em;text-transform:uppercase;color:var(--ink-3)}-.themes{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:8px}+.themes{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.theme-button{display:grid;gap:9px;padding:6px 6px 10px;border:1px solid var(--line);border-radius:calc(var(--radius-control) + 4px);background:color-mix(in srgb,var(--panel) 72%,transparent);color:var(--ink-2);font:600 11.5px/1.25 var(--font-label);text-align:left;transition:border-color .16s ease-out,color .16s ease-out,background .16s ease-out}.theme-button:hover{color:var(--ink);border-color:var(--line-2)}.theme-button[aria-pressed=true]{color:var(--ink);border-color:var(--ink-2);box-shadow:0 0 0 1px var(--ink-2)}@@ -68,12 +67,6 @@ select.control{appearance:none;padding-right:38px;background-image:linear-gradie.swatch[data-swatch=retro]{border-radius:0;background:#141d52;box-shadow:inset 0 0 0 2px #4a64c8,inset 0 0 0 4px #0a0d26}.swatch[data-swatch=retro] i{height:6px;border-radius:0;-webkit-mask:repeating-linear-gradient(90deg,#000 0 5px,transparent 5px 6px);mask:repeating-linear-gradient(90deg,#000 0 5px,transparent 5px 6px)}.swatch[data-swatch=retro] i:nth-child(1){--c:#ff9f43}.swatch[data-swatch=retro] i:nth-child(2){--c:#3ee68b}.swatch[data-swatch=retro] i:nth-child(3){--c:#b388ff}-.swatch[data-swatch=modern]{border-radius:9px;background:linear-gradient(180deg,#1b212b,#11151c);box-shadow:inset 0 0 0 1px #2a3240}-.swatch[data-swatch=modern] i{height:4px}-.swatch[data-swatch=modern] i:nth-child(1){--c:#f4a07a}.swatch[data-swatch=modern] i:nth-child(2){--c:#6ea8ff}.swatch[data-swatch=modern] i:nth-child(3){--c:#5ee0b5}-.swatch[data-swatch=sakura]{border-radius:12px;background:radial-gradient(circle at 92% 8%,#ffc9da 0 14%,transparent 40%),#fdf2f5;box-shadow:inset 0 0 0 1px #f0d0da}-.swatch[data-swatch=sakura] i{--c:#e48aa6}-.swatch[data-swatch=sakura]::after{content:"";position:absolute;right:9px;top:8px;width:9px;height:7px;border-radius:150% 0 150% 0;background:#f49ab5;transform:rotate(20deg)}.swatch[data-swatch=hud]{border-radius:0;background:linear-gradient(rgba(64,140,200,.16) 1px,transparent 1px) 0 0/100% 7px,#06101a;box-shadow:inset 0 0 0 1px #22476a;clip-path:polygon(0 0,calc(100% - 9px) 0,100% 9px,100% 100%,9px 100%,0 calc(100% - 9px))}.swatch[data-swatch=hud] i{border-radius:0;transform:skewX(-24deg);-webkit-mask:repeating-linear-gradient(90deg,#000 0 5px,transparent 5px 7px);mask:repeating-linear-gradient(90deg,#000 0 5px,transparent 5px 7px)}.swatch[data-swatch=hud] i:nth-child(1){--c:#ff8a3d}.swatch[data-swatch=hud] i:nth-child(2){--c:#2fd4ff}.swatch[data-swatch=hud] i:nth-child(3){--c:#3ef29b}@@ -145,14 +138,14 @@ h1{margin:0;font:600 48px/1.04 var(--font-display);letter-spacing:-.03em;color:v.unknown-meter .meter-segment{background:transparent;outline:1px dashed var(--line-2);outline-offset:-1px}.provider-card[data-stale=true] .meter{opacity:.62}.provider-card[data-stale=true] .meter-fill{background:repeating-linear-gradient(135deg,var(--gauge) 0 3px,transparent 3px 6px)!important}-/* Continuous bars (Neon, Modern, Sakura) draw one fill on the meter itself. */-:is([data-theme=neon],[data-theme=modern],[data-theme=sakura]) .meter{gap:0;border-radius:999px;background:var(--track)}-:is([data-theme=neon],[data-theme=modern],[data-theme=sakura]) .meter-segment{background:none;overflow:visible}-:is([data-theme=neon],[data-theme=modern],[data-theme=sakura]) .meter-fill{display:none}-:is([data-theme=neon],[data-theme=modern],[data-theme=sakura]) .meter::before{content:"";position:absolute;left:0;top:0;bottom:0;width:var(--value,0%);border-radius:inherit;background:linear-gradient(90deg,var(--gauge-2),var(--gauge))}-:is([data-theme=neon],[data-theme=modern],[data-theme=sakura]) .unknown-meter{background:transparent;outline:1px dashed var(--line-2);outline-offset:-1px}-:is([data-theme=neon],[data-theme=modern],[data-theme=sakura]) .unknown-meter .meter-segment{outline:0}-:is([data-theme=neon],[data-theme=modern],[data-theme=sakura]) .provider-card[data-stale=true] .meter::before{background:repeating-linear-gradient(135deg,var(--gauge) 0 4px,transparent 4px 8px)!important;box-shadow:none!important}+/* Neon draws one continuous fill on the meter itself. */+[data-theme=neon] .meter{gap:0;border-radius:999px;background:var(--track)}+[data-theme=neon] .meter-segment{background:none;overflow:visible}+[data-theme=neon] .meter-fill{display:none}+[data-theme=neon] .meter::before{content:"";position:absolute;left:0;top:0;bottom:0;width:var(--value,0%);border-radius:inherit;background:linear-gradient(90deg,var(--gauge-2),var(--gauge))}+[data-theme=neon] .unknown-meter{background:transparent;outline:1px dashed var(--line-2);outline-offset:-1px}+[data-theme=neon] .unknown-meter .meter-segment{outline:0}+[data-theme=neon] .provider-card[data-stale=true] .meter::before{background:repeating-linear-gradient(135deg,var(--gauge) 0 4px,transparent 4px 8px)!important;box-shadow:none!important}.more-windows{grid-area:more;margin:2px 0 14px;font:500 12px/1.4 var(--font-label);color:var(--ink-2)}.more-windows summary{display:inline-flex;align-items:center;gap:9px;width:fit-content;min-height:28px;cursor:pointer;list-style:none;font-size:10px;font-weight:700;letter-spacing:.16em;text-transform:uppercase}@@ -205,8 +198,8 @@ h1{margin:0;font:600 48px/1.04 var(--font-display);letter-spacing:-.03em;color:v#display-state,.quiet{margin:0 0 6px;font-size:12px;color:var(--ink-2)}.quiet{color:var(--ink-3)}-:is([data-theme=neon],[data-theme=modern],[data-theme=sakura]) :is(.section-label,.level-label,.more-windows summary){text-transform:none;letter-spacing:.01em;font-size:12px;font-weight:600}-:is([data-theme=neon],[data-theme=modern],[data-theme=sakura]) .level-label{font-family:var(--font-body);font-size:11px;font-weight:500;color:var(--ink-3)}+[data-theme=neon] :is(.section-label,.level-label,.more-windows summary){text-transform:none;letter-spacing:.01em;font-size:12px;font-weight:600}+[data-theme=neon] .level-label{font-family:var(--font-body);font-size:11px;font-weight:500;color:var(--ink-3)}/* ════════════════════════════════════════════════════════════════════Digital Terminal — phosphor console: one ruled window, header bar with@@ -456,118 +449,7 @@ h1{margin:0;font:600 48px/1.04 var(--font-display);letter-spacing:-.03em;color:v[data-theme=retro] .help{font:400 20px/1.4 var(--font-body)}[data-theme=retro] #display-state,[data-theme=retro] .quiet{font-size:20px;line-height:1.1}-/* ════════════════════════════════════════════════════════════════════- Modern Minimal — charcoal, quiet provider tints, generous numerals,- hairline timer column, slim continuous bars.- ════════════════════════════════════════════════════════════════════ */-[data-theme=modern] body{background:radial-gradient(1100px 620px at 78% -12%,#1a2130 0%,transparent 62%),radial-gradient(900px 520px at -12% 34%,#141a24 0%,transparent 60%),var(--bg)}-[data-theme=modern] .screen-head{align-items:flex-start;margin-bottom:34px}-[data-theme=modern] h1{font:600 50px/1.02 var(--font-display);letter-spacing:-.035em}-[data-theme=modern] .summary{align-self:center;gap:0;padding:6px;border:1px solid var(--line-2);border-radius:999px;background:rgba(255,255,255,.02)}-[data-theme=modern] .summary>div{grid-auto-flow:column;align-items:baseline;gap:8px;padding:8px 16px}-[data-theme=modern] .summary>div+div{border-left:1px solid var(--line-2)}-[data-theme=modern] .summary dt{order:2;font:600 12px/1 var(--font-label);letter-spacing:0;text-transform:none;color:var(--ink-2)}-[data-theme=modern] .summary dd{font:700 15px/1 var(--font-num)}-[data-theme=modern] .provider-card{grid-template-columns:64px auto minmax(0,1fr) auto;grid-template-areas:"icon name tabs timer" "icon reading reading timer" "gauge gauge gauge timer" "more more more more" "foot foot foot foot";column-gap:24px;padding:28px 32px 0;border-color:color-mix(in srgb,var(--accent) 24%,var(--line));background:linear-gradient(135deg,color-mix(in srgb,var(--accent) 10%,transparent),transparent 46%),linear-gradient(180deg,rgba(255,255,255,.025),transparent 60%),var(--panel);box-shadow:inset 0 1px 0 rgba(255,255,255,.04),0 26px 50px -30px rgba(0,0,0,.8)}-[data-theme=modern] .card-head{display:contents}-[data-theme=modern] .provider-icon{grid-area:icon;align-self:start;width:64px;height:64px;border-radius:17px;background:color-mix(in srgb,var(--accent) 13%,#0f1319);box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--accent) 24%,transparent)}-[data-theme=modern] .provider-icon .glyph{width:32px;height:32px}-[data-theme=modern] .provider-name{grid-area:name;flex-direction:row;align-items:baseline;gap:12px;align-self:end}-[data-theme=modern] .provider-title{font:600 13px/1 var(--font-label);letter-spacing:.34em}-[data-theme=modern] .company{font:600 9px/1 var(--font-label);letter-spacing:.24em}-[data-theme=modern] .account-tabs{grid-area:tabs;align-self:end;justify-self:end;gap:0;margin:0 0 -6px;padding:3px;border:1px solid var(--line-2);border-radius:11px}-[data-theme=modern] .account-tab{min-width:30px;min-height:26px;border:0;border-radius:8px;font-size:11px}-[data-theme=modern] .account-tab[aria-pressed=true]{background:var(--ink);color:#0b0e13}-[data-theme=modern] .reading{grid-area:reading;flex-direction:row;align-items:center;gap:18px;margin:10px 0 18px}-[data-theme=modern] .reading-meta{order:2;flex-direction:column;align-items:flex-start;gap:6px}-[data-theme=modern] .percentage{font:600 76px/1 var(--font-num);letter-spacing:-.05em}-[data-theme=modern] .gauge{align-self:start;margin-bottom:24px}-[data-theme=modern] .meter{height:9px}-[data-theme=modern] .meter::before{background:linear-gradient(90deg,var(--gauge-2),var(--gauge))}-[data-theme=modern] .timer{grid-area:timer;align-self:stretch;align-content:center;grid-template-columns:auto 1fr;gap:12px 12px;min-width:210px;margin:0 0 22px 8px;padding-left:34px;border-left-color:var(--line-2)}-[data-theme=modern] .clock-mark{grid-row:2;grid-column:1}-[data-theme=modern] .timer-label{grid-row:1;grid-column:1/-1;letter-spacing:.3em}-[data-theme=modern] .timer-value{grid-row:2;grid-column:2;font:500 31px/1 var(--font-num)}-[data-theme=modern] .card-foot{margin:0 -32px;padding:14px 32px 16px;border-top-color:color-mix(in srgb,var(--line) 70%,transparent)}-[data-theme=modern] .stat-k{display:none}-[data-theme=modern] .stat:not(.stat-status)+.stat:not(.stat-status)::before{content:"·";margin-right:11px;color:var(--ink-3)}-/* ════════════════════════════════════════════════════════════════════- Sakura Blossom — blush paper, plum serif display, frosted cards, a- blossom branch with drifting petals, petal-patterned pink-ramp bars.- ════════════════════════════════════════════════════════════════════ */-[data-theme=sakura] body{background:radial-gradient(900px 620px at 88% -8%,#ffe1ea 0%,transparent 62%),radial-gradient(760px 520px at -12% 108%,#f9d3df 0%,transparent 62%),linear-gradient(180deg,#fdf4f7,#fbecf1)}-[data-theme=sakura] .branch{display:block;position:absolute;top:64px;right:-34px;width:min(600px,52vw)}-[data-theme=sakura] .branch svg{display:block;width:100%;height:auto;filter:drop-shadow(0 6px 10px rgba(190,90,120,.12))}-[data-theme=sakura] .bokeh{display:block;position:absolute;left:-90px;bottom:-90px;width:460px;height:360px;filter:blur(8px);opacity:.6}-[data-theme=sakura] .bokeh i{position:absolute;border-radius:50%;background:radial-gradient(circle,#fff 0 16%,#f7bfd0 44%,transparent 70%)}-[data-theme=sakura] .bokeh i:nth-child(1){left:40px;bottom:40px;width:170px;height:170px}-[data-theme=sakura] .bokeh i:nth-child(2){left:180px;bottom:120px;width:110px;height:110px;opacity:.8}-[data-theme=sakura] .bokeh i:nth-child(3){left:120px;bottom:-10px;width:130px;height:130px;opacity:.7}-[data-theme=sakura] .bokeh i:nth-child(4){left:290px;bottom:40px;width:80px;height:80px;opacity:.6}-[data-theme=sakura] .petals{display:block;position:absolute;inset:0}-[data-theme=sakura] .petals i{position:absolute;left:var(--x);top:-4vh;width:var(--size);height:calc(var(--size)*.78);animation:fall var(--fall) linear var(--delay) infinite}-[data-theme=sakura] .petals i::before{content:"";position:absolute;inset:0;border-radius:150% 0 150% 0;background:linear-gradient(135deg,#ffe9f0,#f4a2bb);box-shadow:inset -1px -1px 2px rgba(214,90,130,.25);opacity:.85;animation:sway var(--sway) ease-in-out var(--delay) infinite alternate}-[data-theme=sakura] .brand{font:700 13px/1 var(--font-label);letter-spacing:.3em}-[data-theme=sakura] .brandmark{border-radius:6px}-[data-theme=sakura] .control{border-color:var(--line-2);background:rgba(255,255,255,.82);color:var(--ink);box-shadow:0 6px 16px -10px rgba(166,74,108,.4)}-[data-theme=sakura] .connection{padding:8px 14px;border-radius:999px;background:rgba(255,255,255,.7)}-[data-theme=sakura] .theme-button{border-radius:18px;border-color:rgba(255,255,255,.95);background:rgba(255,255,255,.9);box-shadow:0 8px 18px -14px rgba(166,74,108,.5)}-[data-theme=sakura] .theme-button[aria-pressed=true]{border-color:#d9819f;box-shadow:0 0 0 1px #d9819f,0 10px 22px -14px rgba(166,74,108,.6)}-[data-theme=sakura] .section-label{color:var(--ink-2)}-[data-theme=sakura] .screen-head{align-items:flex-end;margin:22px 0 38px}-[data-theme=sakura] .title-block{display:flex;flex-direction:column}-[data-theme=sakura] h1{order:1;font:600 86px/.92 var(--font-display);letter-spacing:-.015em;color:var(--ink)}-[data-theme=sakura] .title-block .eyebrow{order:2;margin:16px 0 0 4px;font:500 13px/1 var(--font-label);letter-spacing:.64em;color:var(--ink-2)}-[data-theme=sakura] .intro-note{order:3;margin:16px 0 0 4px;font:500 14px/1.4 var(--font-label);letter-spacing:.12em;color:var(--ink-2)}-[data-theme=sakura] .intro-note::after{content:"";display:block;width:96px;height:2px;margin-top:20px;background:linear-gradient(90deg,#e7899f,rgba(231,137,159,0))}-[data-theme=sakura] .summary{flex-direction:column;align-items:flex-start;gap:9px;padding:6px 0 6px 24px;border-left:1px solid var(--line-2)}-[data-theme=sakura] .summary>div{display:flex;flex-direction:row-reverse;justify-content:flex-end;align-items:baseline;gap:9px}-[data-theme=sakura] .summary .summary-providers{display:flex}-[data-theme=sakura] .summary .summary-clock{display:none}-[data-theme=sakura] :is(.percentage,.timer-value,.summary dd,.window-percent,.window-timer,.gauge-value){font-variant-numeric:lining-nums tabular-nums}-[data-theme=sakura] .summary dt{font:600 11px/1 var(--font-label);letter-spacing:.34em;color:var(--ink-2)}-[data-theme=sakura] .summary dd{font:600 20px/1 var(--font-num);font-variant-numeric:lining-nums tabular-nums;color:var(--ink)}-[data-theme=sakura] .provider-list{gap:20px}-[data-theme=sakura] .provider-card{grid-template-columns:84px minmax(0,1fr) auto auto;grid-template-areas:"icon name reading timer" "icon tabs reading timer" "gauge gauge gauge gauge" "more more more more" "foot foot foot foot";column-gap:26px;padding:26px 32px 0;border:1px solid rgba(255,255,255,.95);border-radius:26px;background:linear-gradient(180deg,rgba(255,255,255,.86),rgba(255,246,249,.7));box-shadow:inset 0 1px 0 #fff,0 22px 44px -26px rgba(166,74,108,.42),0 2px 6px rgba(166,74,108,.06);backdrop-filter:blur(8px)}-[data-theme=sakura] .card-head{display:contents}-[data-theme=sakura] .provider-icon{grid-area:icon;width:84px;height:84px;border-radius:24px;background:linear-gradient(150deg,#fff,#fbe3eb);box-shadow:inset 0 0 0 1px rgba(255,255,255,.95),0 10px 20px -12px rgba(166,74,108,.45)}-[data-theme=sakura] .provider-icon .glyph{width:42px;height:42px}-[data-theme=sakura] .provider-name{grid-area:name;align-self:end;gap:10px}-[data-theme=sakura] .provider-title{font:600 34px/.95 var(--font-display);letter-spacing:.07em;color:var(--ink)}-[data-theme=sakura] .company{font:600 9px/1 var(--font-label);letter-spacing:.46em;color:var(--ink-2)}-[data-theme=sakura] .account-tabs{grid-area:tabs;align-self:start;margin:12px 0 0;gap:6px}-[data-theme=sakura] .account-tab{border-color:var(--line-2);background:rgba(255,255,255,.7);color:var(--ink-2)}-[data-theme=sakura] .account-tab[aria-pressed=true]{background:var(--ink);border-color:var(--ink);color:#fff}-[data-theme=sakura] .reading{grid-area:reading;align-items:center;gap:8px;margin:0;text-align:center}-[data-theme=sakura] .reading-meta{order:2;flex-direction:column;align-items:center;gap:6px}-[data-theme=sakura] .reading-label{font:600 9px/1 var(--font-label);letter-spacing:.42em}-[data-theme=sakura] .level-label{font:600 9px/1 var(--font-label);letter-spacing:.24em;color:var(--ink-3)}-[data-theme=sakura] .unknown-message{max-width:150px}-[data-theme=sakura] .percentage{font:600 66px/.9 var(--font-num);letter-spacing:-.01em;font-variant-numeric:lining-nums tabular-nums;color:var(--ink)}-[data-theme=sakura] .percent-sign{font-size:.56em}-[data-theme=sakura] .timer{grid-area:timer;gap:6px 14px;min-width:200px;padding-left:28px;border-left-color:var(--line-2)}-[data-theme=sakura] .clock-icon{width:50px;height:50px;padding:13px;border-radius:50%;background:#fbe1ea;color:#c2557a;stroke-width:1.6}-[data-theme=sakura] .timer-label{font:600 9px/1 var(--font-label);letter-spacing:.34em;color:var(--ink-2)}-[data-theme=sakura] .timer-value{font:600 32px/1 var(--font-num);letter-spacing:0;color:var(--ink)}-[data-theme=sakura] .gauge{margin:24px 0 20px}-[data-theme=sakura] .meter{height:18px;background:#f6e4ea;box-shadow:inset 0 1px 2px rgba(150,70,100,.16)}-[data-theme=sakura] .meter::before{background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 36 18'%3E%3Cg fill='%23fff' opacity='.55'%3E%3Cpath d='M9 9c-1.6-.4-2.4-2.3-1.2-3.4.6-.5 1.2-.3 1.2.4.1-.7.7-.9 1.2-.4 1.2 1.1.4 3-1.2 3.4z'/%3E%3Cpath d='M9 9c.5 1.6-.9 3.2-2.4 2.6-.7-.3-.8-1-.2-1.3-.7.3-1.2-.2-1.1-.8.3-1.5 2.3-1.7 3.7-.5z'/%3E%3Cpath d='M9 9c1.4-1.2 3.4-1 3.7.5.1.6-.4 1.1-1.1.8.6.3.5 1-.2 1.3-1.5.6-2.9-1-2.4-2.6z'/%3E%3C/g%3E%3Ccircle cx='27' cy='6' r='1.4' fill='%23fff' opacity='.45'/%3E%3C/svg%3E") 0 50%/36px 18px repeat-x,linear-gradient(90deg,var(--gauge-2),var(--gauge));box-shadow:0 2px 6px -2px color-mix(in srgb,var(--gauge) 60%,transparent)}-[data-theme=sakura] .window-detail .meter::before{background:linear-gradient(90deg,var(--gauge-2),var(--gauge))}-[data-theme=sakura] .more-windows summary::before{border-color:var(--line-2);color:var(--ink-2)}-[data-theme=sakura] .card-foot{margin:0 -32px;padding:14px 32px 16px;border-top-color:var(--line)}-[data-theme=sakura] .stat-k{display:none}-[data-theme=sakura] .stat:not(.stat-status)+.stat:not(.stat-status)::before{content:"";display:inline-block;width:9px;height:9px;margin-right:10px;vertical-align:-1px;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10'%3E%3Cg fill='%23eaa2b7'%3E%3Ccircle cx='5' cy='2.3' r='2'/%3E%3Ccircle cx='7.6' cy='4.2' r='2'/%3E%3Ccircle cx='6.6' cy='7.3' r='2'/%3E%3Ccircle cx='3.4' cy='7.3' r='2'/%3E%3Ccircle cx='2.4' cy='4.2' r='2'/%3E%3C/g%3E%3Ccircle cx='5' cy='5' r='1.2' fill='%23fff'/%3E%3C/svg%3E") center/contain no-repeat}-[data-theme=sakura] .screen-foot{margin-top:34px}-[data-theme=sakura] .footer-meta{justify-content:center;letter-spacing:.24em;text-transform:uppercase;font-size:10px;color:var(--ink-2)}-[data-theme=sakura] .footer-meta::before,[data-theme=sakura] .footer-meta::after{content:"";flex:0 1 90px;height:1px;background:var(--line-2)}-[data-theme=sakura] .legend{justify-content:center}-[data-theme=sakura] .legend i{height:7px}-[data-theme=sakura] .notice{border-style:solid;border-color:#e7a3b8;background:rgba(255,255,255,.75);color:var(--ink)}-[data-theme=sakura] .clock-panel{border:1px solid rgba(255,255,255,.95);background:rgba(255,255,255,.82);box-shadow:0 22px 44px -26px rgba(166,74,108,.42);backdrop-filter:blur(8px)}-[data-theme=sakura] .aside-head h2{font:600 30px/1 var(--font-display)}-[data-theme=sakura] .device{background:linear-gradient(155deg,#ffffff,#f1e8e4 60%,#e2d6d1);box-shadow:inset 0 1px 0 #fff,inset 0 -3px 8px rgba(120,80,70,.18),0 22px 34px -20px rgba(120,60,80,.5)}-[data-theme=sakura] .control.primary{background:var(--ink);border-color:var(--ink);color:#fff}/* ════════════════════════════════════════════════════════════════════Sci-Fi HUD — navy telemetry: cut-corner glowing frames, wide technical@@ -661,7 +543,6 @@ h1{margin:0;font:600 48px/1.04 var(--font-display);letter-spacing:-.03em;color:v}@media (max-width:900px){.shell{padding:0 24px 48px}- .themes{grid-template-columns:repeat(3,minmax(0,1fr))}.screen-head{flex-wrap:wrap;align-items:flex-start}[data-theme=hud] .provider-card{grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"head head" "pct timer" "meta meta" "gauge gauge" "more more" "foot foot"}[data-theme=hud] .percentage{justify-self:start;margin-top:18px}@@ -679,19 +560,11 @@ h1{margin:0;font:600 48px/1.04 var(--font-display);letter-spacing:-.03em;color:v[data-theme=retro] .provider-card[data-provider=grok] .provider-icon{box-shadow:inset 0 0 0 4px var(--accent),inset 0 0 0 8px var(--outline),inset 0 0 0 10px color-mix(in srgb,var(--accent) 28%,var(--outline)),inset 0 0 0 17px var(--outline),6px 6px 0 rgba(0,0,0,.35)}[data-theme=retro] .pixel-mascot{width:48px;height:48px}[data-theme=retro] .account-tabs{align-self:start;margin:4px 0 0}- [data-theme=sakura] .provider-card{grid-template-columns:72px minmax(0,1fr) auto;grid-template-areas:"icon name reading" "icon tabs reading" "timer timer timer" "gauge gauge gauge" "more more more" "foot foot foot"}- [data-theme=sakura] .provider-icon{width:72px;height:72px}- [data-theme=sakura] .timer{justify-self:start;margin-top:18px;padding-left:0;border-left:0}[data-theme=neon] .provider-card{grid-template-columns:80px minmax(0,1fr) auto;grid-template-areas:"icon name timer" "icon tabs timer" "reading reading reading" "gauge gauge gauge" "more more more" "foot foot foot"}[data-theme=neon] .provider-icon{width:80px;height:80px;border-radius:20px}[data-theme=neon] .provider-icon .glyph{width:42px;height:42px}[data-theme=neon] .account-tabs{align-self:start;margin:10px 0 0}[data-theme=neon] .reading{margin-top:22px}- [data-theme=modern] .provider-card{grid-template-columns:56px minmax(0,1fr) auto;grid-template-areas:"icon name timer" "icon tabs timer" "reading reading reading" "gauge gauge gauge" "more more more" "foot foot foot"}- [data-theme=modern] .provider-icon{width:56px;height:56px}- [data-theme=modern] .account-tabs{align-self:start;margin:10px 0 0}- [data-theme=modern] .timer{margin:0}- [data-theme=modern] .reading{margin-top:20px}}@media (max-width:640px){.shell{padding:0 16px 40px}@@ -699,7 +572,7 @@ h1{margin:0;font:600 48px/1.04 var(--font-display);letter-spacing:-.03em;color:v.connection{order:3;width:100%;margin-left:0}.clock-toggle{margin-left:auto}.theme-section{margin-bottom:26px}- .themes{gap:6px}+ .themes{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}.theme-button{padding:5px 5px 8px;font-size:10.5px}.swatch{height:30px;padding:0 7px;gap:3px}.swatch i{height:4px}@@ -783,24 +656,6 @@ h1{margin:0;font:600 48px/1.04 var(--font-display);letter-spacing:-.03em;color:v[data-theme=retro] .timer-value{font-size:12px}[data-theme=retro] .meter{height:30px;padding:4px;gap:3px}[data-theme=retro] .card-foot{margin:4px -16px 0;padding:11px 16px 12px}- [data-theme=modern] h1{font-size:38px}- [data-theme=modern] .summary{border-radius:16px}- [data-theme=modern] .percentage{font-size:52px}- [data-theme=modern] .provider-title{font-size:12px;letter-spacing:.28em}- [data-theme=modern] .provider-name{flex-direction:column;gap:6px}- [data-theme=modern] .account-tabs{margin-left:auto}- [data-theme=sakura] .branch{width:86vw;opacity:.55;top:-30px;right:-40px}- [data-theme=sakura] h1{font-size:60px}- [data-theme=sakura] .title-block .eyebrow{letter-spacing:.5em}- [data-theme=sakura] .summary{padding-left:16px}- [data-theme=sakura] .provider-card{border-radius:22px}- [data-theme=sakura] .provider-icon{width:44px;height:44px;border-radius:14px}- [data-theme=sakura] .provider-title{font-size:26px}- [data-theme=sakura] .percentage{font-size:54px}- [data-theme=sakura] .clock-icon{width:auto;height:auto;padding:0;background:none}- [data-theme=sakura] .timer-value{font-size:24px}- [data-theme=sakura] .gauge{margin:2px 0 16px}- [data-theme=sakura] .card-foot{margin:0 -16px;padding:12px 16px 14px}[data-theme=hud] .screen-head{padding:20px 18px}[data-theme=hud] .screen-head::after{display:none}[data-theme=hud] h1{font-size:24px}@@ -822,8 +677,6 @@ h1{margin:0;font:600 48px/1.04 var(--font-display);letter-spacing:-.03em;color:v.theme-button{font-size:10px}.summary{flex-wrap:wrap}[data-theme] .percentage{font-size:44px}- [data-theme=sakura] h1{font-size:50px}- [data-theme=sakura] .summary{border-left:0;padding-left:0}[data-theme=retro] .percentage{font-size:24px}[data-theme=retro] .provider-title{font-size:14px}[data-theme=hud] .summary>div{padding:0 10px}@@ -834,9 +687,6 @@ h1{margin:0;font:600 48px/1.04 var(--font-display);letter-spacing:-.03em;color:v@keyframes sweep{to{transform:translateY(calc(100vh + 240px))}}@keyframes twinkle{50%{opacity:.2}}@keyframes beat{50%{transform:translateY(-1px)}}-@keyframes fall{from{transform:translate3d(0,0,0)}to{transform:translate3d(var(--drift),112vh,0)}}-@keyframes sway{from{transform:rotate(var(--turn)) translateX(-7px)}to{transform:rotate(calc(var(--turn) + 80deg)) translateX(7px)}}@media (prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important}- [data-theme=sakura] .petals i{top:calc(var(--x) * .8)}}diff --git a/token_tv/web_assets.py b/token_tv/web_assets.pyindex 48cffb0..40f250f 100644--- a/token_tv/web_assets.py+++ b/token_tv/web_assets.py@@ -15,7 +15,6 @@ ASSETS = {'/assets/orbitron.ttf': (WEB / 'orbitron.ttf', 'font/ttf'),'/assets/press-start-2p.ttf': (WEB / 'press-start-2p.ttf', 'font/ttf'),'/assets/oxanium.woff2': (WEB / 'oxanium.woff2', 'font/woff2'),- '/assets/cormorant-garamond.woff2': (WEB / 'cormorant-garamond.woff2', 'font/woff2'),'/assets/chakra-petch-500.woff2': (WEB / 'chakra-petch-500.woff2', 'font/woff2'),'/assets/chakra-petch-700.woff2': (WEB / 'chakra-petch-700.woff2', 'font/woff2'),'/assets/claude-pixel.png': (ROOT / 'assets' / 'claude-pixel.png', 'image/png'),diff --git a/tokens.css b/tokens.cssindex 156dbd8..c13298f 100644--- a/tokens.css+++ b/tokens.css@@ -64,29 +64,6 @@--radius-card: 0; --radius-control: 0;}-/* Modern Minimal: charcoal, quiet tints, generous numerals. */-:root[data-theme=modern] {- --bg: #0b0e13; --panel: #131820; --panel-2: #192029;- --ink: #f4f6f9; --ink-2: #98a2b1; --ink-3: #7a8493;- --line: #222934; --line-2: #2f3744;-}--/* Sakura Blossom: blush paper, plum ink, one pink ramp for the bands. */-:root[data-theme=sakura] {- --font-display: 'Cormorant Garamond', Georgia, serif;- --font-num: 'Cormorant Garamond', Georgia, serif;- --bg: #fbeef2; --panel: #fffafc; --panel-2: #fff;- --ink: #4a2433; --ink-2: #7a5262; --ink-3: #8a6574;- --line: #f0d6df; --line-2: #e7c2cf; --track: #f5e3e9; --focus: #a83f63;- --claude: #cc6440; --claude-2: #cc6440;- --codex: #6b4fa0; --codex-2: #6b4fa0;- --grok: #34283a; --grok-2: #34283a;- --lvl-low: #f2b8c9; --lvl-medium: #e7899f; --lvl-high: #cf5679; --lvl-critical: #a3264b;- --lvl-low-2: #fbdde6; --lvl-medium-2: #f5bccb; --lvl-high-2: #ea98ae; --lvl-critical-2: #d65a80;- --radius-card: 26px; --radius-control: 999px;- color-scheme: light;-}-/* Sci-Fi HUD: navy telemetry, cut corners, wide technical type. */:root[data-theme=hud] {--font-body: 'Chakra Petch', 'Manrope', sans-serif;