:root{color:#122029;font-synthesis:none;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;background:#eef2ec;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-weight:400;line-height:1.5}*{box-sizing:border-box}html,body,#root{min-height:100%}body{margin:0}button,input,textarea,select{font:inherit}button{cursor:pointer}img,svg{display:block}
.americano-app{--background:#fff;--foreground:#111827;--muted:#f4f4f5;--muted-strong:#e4e4e7;--muted-foreground:#6b7280;--border:#e5e7eb;--border-strong:#d4d4d8;--primary:#111827;--primary-hover:#1f2937;--accent:#f3f4f6;--danger:#dc2626;--ring:#11182724;min-height:100vh;color:var(--foreground);background:linear-gradient(180deg, var(--background) 0%, var(--muted) 100%)}.americano-app main,.landing-screen,.workspace-screen{min-height:100vh}.landing-screen{flex-direction:column;display:flex}.site-header{z-index:30;border-bottom:1px solid var(--border);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);background:#fffffff0;position:sticky;top:0}.site-header__inner{justify-content:space-between;align-items:center;gap:16px;width:min(1180px,100%);min-height:68px;margin:0 auto;padding:0 16px;display:flex}.brand-button{color:var(--foreground);letter-spacing:0;background:0 0;border:0;padding:0;font-size:1.5rem;font-weight:900}.site-actions{align-items:center;gap:8px;display:flex}.landing-center{flex:1;place-items:start center;padding:80px 16px 56px;display:grid}.hero-section{width:min(1180px,100%)}.landing-head{text-align:center;max-width:820px;margin:0 auto}.hero-eyebrow{border:1px solid var(--border);min-height:30px;color:var(--muted-foreground);background:#ffffffc7;border-radius:999px;align-items:center;margin-bottom:18px;padding:0 12px;font-size:.82rem;font-weight:800;display:inline-flex}.landing-head h1,.workspace-title h1,.legal-card h1{color:var(--foreground);letter-spacing:0;margin:0;line-height:1.05}.landing-head h1{text-wrap:balance;font-size:clamp(2.45rem,6vw,4.65rem);font-weight:900}.landing-head p{max-width:760px;color:var(--muted-foreground);text-wrap:pretty;margin:22px auto 0;font-size:clamp(1.04rem,2vw,1.28rem);line-height:1.65}.hero-actions{justify-content:center;align-items:end;gap:12px;max-width:760px;margin:32px auto 0;display:flex}.create-form{flex:560px;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:12px;display:grid}.create-form label,.player-name-grid label,.custom-input{color:var(--foreground);gap:7px;font-weight:700;display:grid}.create-form label span,.player-name-grid span,.custom-input span{color:var(--muted-foreground);font-size:.86rem}.create-form input,.number-line input,.player-name-grid input,.custom-input input,.score-box input{border:1px solid var(--border-strong);background:var(--background);width:100%;min-height:40px;color:var(--foreground);border-radius:7px;outline:none;padding:8px 12px}.create-form input:focus,.number-line input:focus,.player-name-grid input:focus,.custom-input input:focus,.score-box input:focus{border-color:var(--primary);box-shadow:0 0 0 3px var(--ring)}input[type=number]{appearance:textfield}input[type=number]::-webkit-inner-spin-button{appearance:none;margin:0}input[type=number]::-webkit-outer-spin-button{appearance:none;margin:0}.primary-action,.secondary-action{white-space:nowrap;border:1px solid #0000;border-radius:7px;justify-content:center;align-items:center;gap:8px;min-height:40px;padding:0 16px;font-weight:800;display:inline-flex}.primary-action{background:var(--primary);color:#fff;box-shadow:0 1px 2px #0f172a1f}.primary-action:hover{background:var(--primary-hover)}.secondary-action{background:var(--background);border-color:var(--border-strong);color:var(--foreground);box-shadow:0 1px 2px #0f172a0f}.secondary-action:hover{background:var(--accent)}.secondary-action:disabled,.add-court:disabled,.primary-action:disabled{cursor:not-allowed;opacity:.5}.accordion{border:1px solid var(--border);background:#ffffffb8;border-radius:8px;max-width:760px;margin:30px auto 0;overflow:hidden}.accordion__button{width:100%;min-height:52px;color:var(--foreground);text-align:left;background:0 0;border:0;justify-content:space-between;align-items:center;gap:14px;padding:0 16px;font-weight:800;display:flex}.accordion__icon--open{transform:rotate(180deg)}.accordion__body{color:var(--muted-foreground);margin:0;padding:0 16px 16px;line-height:1.65}.feature-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:22px;width:min(1100px,100%);margin:72px auto 0;display:grid}.feature-card{text-align:center;align-content:start;justify-items:center;gap:10px;min-height:190px;padding:24px 16px;display:grid}.feature-card__icon{width:64px;height:64px;color:var(--primary);background:#11182712;border-radius:999px;place-items:center;margin-bottom:4px;display:grid}.feature-card h2{color:var(--foreground);margin:0;font-size:1.05rem;line-height:1.28}.feature-card p{color:var(--muted-foreground);margin:0;font-size:.93rem;line-height:1.55}.language-picker{align-items:center;gap:8px;display:flex}.language-flag{width:24px;min-height:18px;color:var(--foreground);opacity:.42;background:0 0;border:1px solid #0000;border-radius:4px;padding:1px;line-height:1}.flag-icon{width:20px;height:14px;display:block;box-shadow:inset 0 0 0 1px #11182724}.flag-icon--en{background:linear-gradient(27deg,#0000 42%,#fff 43% 48%,#c8102e 49% 53%,#fff 54% 59%,#0000 60%),linear-gradient(153deg,#0000 42%,#fff 43% 48%,#c8102e 49% 53%,#fff 54% 59%,#0000 60%),linear-gradient(90deg,#0000 38%,#fff 39% 45%,#c8102e 46% 54%,#fff 55% 61%,#0000 62%),linear-gradient(#0000 32%,#fff 33% 42%,#c8102e 43% 57%,#fff 58% 67%,#0000 68%),#012169}.flag-icon--da{background:linear-gradient(90deg,#0000 28%,#fff 29% 39%,#0000 40%),linear-gradient(#0000 41%,#fff 42% 60%,#0000 61%),#c60c30}.flag-icon--es{background:linear-gradient(#c60b1e 0 25%,#ffc400 25% 75%,#c60b1e 75%)}.language-flag--active,.language-flag:hover{opacity:1;border-color:var(--border)}.app-footer{border-top:1px solid var(--border);width:100%;color:var(--muted-foreground);text-align:center;justify-content:center;align-items:center;gap:18px;margin-top:auto;padding:26px 16px;font-size:.92rem;display:flex}.app-footer>div:first-child{gap:4px;display:grid}.app-footer p{margin:0}.footer-note{color:var(--muted-foreground)}.footer-links{flex-wrap:wrap;align-items:center;gap:12px;display:flex}.footer-links a,.footer-links button,.back-button{color:var(--foreground);background:0 0;border:0;align-items:center;gap:6px;font-weight:750;text-decoration:none;display:inline-flex}.footer-links button:hover,.footer-links a:hover,.back-button:hover{color:var(--primary-hover)}.workspace-screen{background:linear-gradient(180deg, var(--background), var(--muted));place-items:start center;padding:24px 16px 56px;display:grid}.setup-screen,.match-screen{display:block}.back-button{min-height:40px;padding:0}.setup-screen .back-button,.match-screen .back-button{z-index:20;position:fixed;top:18px;left:20px}.workspace-card,.legal-card,.glass-card{border:1px solid var(--border);background:#ffffffd1;border-radius:8px;width:min(1100px,100%);box-shadow:0 20px 50px #0f172a14}.setup-card{width:min(780px,100%);margin:56px auto 0;padding:28px}.workspace-title{justify-content:space-between;align-items:start;gap:16px;margin-bottom:24px;display:flex}.workspace-title h1{font-size:clamp(1.55rem,3vw,2.25rem);font-weight:900}.workspace-title p{color:var(--muted-foreground);margin:8px 0 0}.workspace-badge{border:1px solid var(--border);background:var(--muted);min-height:30px;color:var(--muted-foreground);text-transform:uppercase;border-radius:999px;align-items:center;padding:0 12px;font-size:.75rem;font-weight:900;display:inline-flex}.settings-section{border-top:1px solid var(--border);padding:20px 0}.settings-section:first-of-type{border-top:0}.section-title{color:var(--foreground);align-items:center;gap:10px;margin-bottom:14px;display:flex}.section-title svg{color:var(--primary)}.section-title h2{margin:0;font-size:1rem}.option-grid,.preset-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;display:grid}.setup-screen .option-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.option-card,.preset-button,.custom-input,.court-chip,.add-court{border:1px solid var(--border);background:var(--background);min-height:76px;color:var(--foreground);text-align:left;border-radius:8px;padding:12px}.option-card{align-content:center;gap:6px;display:grid}.option-card span{color:var(--muted-foreground);font-size:.9rem}.option-card:hover,.preset-button:hover,.custom-input:hover,.custom-input:focus-within,.court-chip:focus-within{border-color:var(--primary);box-shadow:0 0 0 3px var(--ring)}.option-card--active,.preset-button--active,.custom-input--active{border-color:var(--primary);background:var(--primary);color:#fff;box-shadow:0 8px 20px #0f172a24}.option-card--active span,.custom-input--active span{color:#ffffffbf}.preset-button{text-align:center;min-height:46px;font-weight:900}.number-line{grid-template-columns:minmax(90px,120px) minmax(0,1fr);align-items:center;gap:14px;display:grid}.number-line input{text-align:center;font-size:1.1rem;font-weight:900}.hint{color:var(--muted-foreground);margin:10px 0 0}.minimum-notice{color:#991b1b;background:#dc262614;border:1px solid #dc262647;border-radius:8px;max-width:360px;padding:9px 12px;font-size:.92rem;line-height:1.35}.player-name-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;display:grid}.player-name-grid input{text-align:center;font-weight:750}.custom-input{cursor:text;place-items:center;padding:12px 16px;display:grid;position:relative}.custom-input input{width:min(120px,100%);min-height:32px;color:inherit;text-align:center;box-shadow:none;background:0 0;border:0;border-radius:0;padding:0;font-size:1rem;font-weight:900}.custom-input span{color:var(--muted-foreground);font-size:.78rem;font-weight:850;line-height:1;position:absolute;top:11px;left:14px}.custom-input input:focus{box-shadow:none;border-color:#0000}.custom-input--active input{color:#fff}.court-grid{flex-wrap:wrap;gap:10px;display:flex}.court-chip,.add-court{align-items:center;gap:8px;min-height:42px;font-weight:900;display:inline-flex}.court-chip{min-width:170px;padding:0}.court-chip input{width:100%;min-height:42px;color:var(--foreground);text-align:center;font:inherit;background:0 0;border:0;border-radius:8px;outline:none}.add-court{justify-content:center}.sticky-actions{gap:12px;padding-top:20px;display:flex}.sticky-actions>*{flex:1 1 0}.match-screen .back-button{display:none}.match-screen .workspace-card{width:min(1000px,100%);margin:36px auto 0;padding:28px}.match-screen .workspace-title{text-align:center;margin-bottom:22px;display:block}.match-actions-top{justify-content:center;align-items:center;gap:12px;margin-bottom:28px;display:flex}.view-only-toggle{color:var(--muted-foreground);align-items:center;gap:8px;font-weight:700;display:inline-flex}.round-tabs{gap:8px;margin-bottom:20px;padding-bottom:8px;display:flex;overflow-x:auto}.match-screen .round-tabs{justify-content:center}.round-tab{border:1px solid var(--border);background:var(--background);min-height:38px;color:var(--foreground);white-space:nowrap;border-radius:999px;padding:0 14px;font-weight:900}.round-tab--active{background:var(--primary);border-color:var(--primary);color:#fff}.rest-strip{background:#1118270d;border:1px solid #11182724;border-radius:8px;flex-wrap:wrap;gap:10px;margin-bottom:16px;padding:12px 14px;display:flex}.match-list{gap:14px;display:grid}.match-screen .match-list{grid-template-columns:repeat(2,minmax(0,384px));justify-content:center;gap:18px}.match-card{border:1px solid var(--border);background:var(--background);border-radius:8px;padding:16px}.match-screen .match-card{background:linear-gradient(90deg,#0000 17.5%,#ffffffc7 17.8% 18.3%,#0000 18.6%),linear-gradient(90deg,#0000 49.4%,#ffffffbf 49.8% 50.2%,#0000 50.6%),linear-gradient(90deg,#0000 81.7%,#ffffffc7 82% 82.5%,#0000 82.8%),linear-gradient(#0000 50.5%,#ffffffd9 51% 52%,#0000 52.5%),radial-gradient(circle at 45% 45%,#007eff94,#0000 46%),linear-gradient(135deg,#0052bf,#006df5 45%,#003f9e);border:2px solid #0f1928b3;border-radius:10px;width:384px;height:214px;padding:0;position:relative;overflow:hidden;box-shadow:inset 0 0 14px #fff3,inset 0 0 35px #00000059,0 10px 22px #00000029}.match-screen .match-card:before,.match-screen .match-card:after{content:"";background:repeating-linear-gradient(135deg,#ffffff73 0 8px,#0000002e 8px 16px),#d2dceb73;width:12px;position:absolute;top:0;bottom:0}.match-screen .match-card:before{left:0}.match-screen .match-card:after{right:0}.match-card__court{color:var(--muted-foreground);margin-bottom:12px;font-weight:900}.match-screen .match-card__court{z-index:3;color:#fff;background:#00163ad1;border-radius:999px;align-items:center;min-height:34px;margin:0;padding:0 18px;display:inline-flex;position:absolute;top:9px;left:50%;transform:translate(-50%)}.match-card__teams{grid-template-columns:1fr auto 1fr;align-items:center;gap:14px;display:grid}.match-screen .match-card__teams{z-index:2;grid-template-columns:1fr auto 1fr;position:absolute;inset:0 24px}.team-names{gap:8px;display:grid}.match-screen .team-names{color:#fff;text-shadow:0 1px 2px #00000047;white-space:nowrap;align-content:space-between;height:112px;font-size:1.04rem}.match-screen .team-names:first-child{text-align:left}.match-screen .team-names:last-child{text-align:right}.score-box{background:#ffffff21;border-radius:8px;grid-template-columns:minmax(52px,68px) auto minmax(40px,1fr);align-items:center;gap:8px;min-width:150px;min-height:84px;padding:12px;font-size:1.4rem;font-weight:900;display:grid}.match-screen .score-box{background:0 0;border-radius:0;grid-template-columns:64px auto 64px;min-width:144px;min-height:58px;padding:0}.match-screen .score-box input,.match-screen .score-box strong{color:#fff;background:#0b1f3ae6;border:1px solid #ffffffb8;border-radius:6px;place-items:center;height:38px;font-size:1.15rem;display:grid}.match-screen .score-box input{text-align:center;min-height:38px;padding:0;font-weight:900}.match-screen .score-box span{color:#fff}.match-screen .sticky-actions{justify-content:center;width:min(836px,100%);margin:34px auto 0}.match-screen .sticky-actions .primary-action,.match-screen .sticky-actions .secondary-action{max-width:220px;min-height:46px}.match-screen .sticky-actions .secondary-action:last-child{display:none}.leaderboard-panel{border-top:1px solid var(--border);width:min(836px,100%);margin:32px auto 0;padding-top:22px}.match-screen .leaderboard-panel .section-title{justify-content:center}.leaderboard{gap:8px;display:grid}.leader-row{background:var(--background);border:1px solid var(--border);border-radius:8px;grid-template-columns:48px minmax(0,1fr) 90px 70px;align-items:center;gap:10px;min-height:46px;padding:0 12px;display:grid}.legal-card{gap:12px;margin-top:60px;padding:28px;line-height:1.7;display:grid}.legal-card h2{margin:14px 0 0}.legal-card p{color:var(--muted-foreground);margin:0}button{transition:background .15s,border-color .15s,transform .15s,opacity .15s,box-shadow .15s}button:not(:disabled):hover{transform:translateY(-1px)}@media (max-width:960px){.feature-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.option-grid,.preset-grid,.setup-screen .option-grid{grid-template-columns:1fr}.player-name-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.match-card__teams{grid-template-columns:1fr}.score-box{grid-template-columns:minmax(70px,1fr) auto minmax(70px,1fr)}.match-screen .match-list{grid-template-columns:1fr;justify-items:center}.match-screen .match-card{width:min(100%,384px)}.match-screen .match-card__teams{grid-template-columns:1fr auto 1fr;inset:0 20px}.match-screen .score-box{grid-template-columns:54px auto 54px;min-width:126px}}@media (max-width:700px){.site-header__inner{align-items:start;min-height:auto;padding:12px 16px}.brand-button{min-height:36px;font-size:1.25rem}.site-actions{flex-wrap:wrap;justify-content:flex-end}.site-actions .secondary-action{display:none}.landing-center{padding:54px 16px 42px}.landing-head h1{font-size:clamp(2.2rem,12vw,3.35rem)}.landing-head p{font-size:1.02rem}.hero-actions,.create-form,.sticky-actions,.app-footer{flex-direction:column;align-items:stretch}.hero-actions{display:grid}.create-form{grid-template-columns:1fr}.feature-grid{grid-template-columns:1fr;gap:8px;margin-top:44px}.feature-card{min-height:auto;padding:20px 12px}.workspace-screen{padding:14px 12px 36px}.setup-screen .back-button{margin:0 0 8px;position:static}.setup-card{margin-top:8px;padding:18px 14px 24px}.workspace-title{display:grid}.number-line,.player-name-grid{grid-template-columns:1fr}.court-grid{display:grid}.court-chip,.add-court{width:100%}.match-screen{padding:0;overflow-x:hidden}.match-screen .workspace-card{border:0;border-radius:0;width:100%;min-height:100vh;margin:0 auto;padding:22px 12px 32px}.match-screen .workspace-title{margin:8px 0 18px}.match-actions-top{margin:0 0 20px}.match-screen .round-tabs{justify-content:center;margin:0 0 18px;padding:0}.match-screen .match-list{gap:18px;width:100%}.match-screen .match-card{aspect-ratio:16/9.45;border-radius:9px;width:100%;height:auto}.match-screen .match-card__court{min-height:34px;padding:0 18px;font-size:.96rem;top:10px}.match-screen .match-card__teams{gap:8px;inset:0 20px}.match-screen .team-names{white-space:normal;height:86px;font-size:clamp(.9rem,4.4vw,1.06rem);line-height:1.2}.match-screen .team-names strong{overflow-wrap:break-word;max-width:92px}.match-screen .team-names:first-child{text-align:left}.match-screen .team-names:last-child{text-align:right;justify-items:end}.match-screen .score-box{grid-template-columns:50px auto 50px;gap:5px;min-width:118px;min-height:46px}.match-screen .score-box input,.match-screen .score-box strong{height:36px;font-size:1rem}.match-screen .sticky-actions{width:100%;margin:26px 0 0}.match-screen .sticky-actions .primary-action,.match-screen .sticky-actions .secondary-action{width:100%;max-width:none}.leaderboard-panel{width:100%;margin:28px 0 0}.leader-row{grid-template-columns:40px minmax(0,1fr) auto auto;gap:8px;min-height:58px;padding:0 12px}.leader-row span,.leader-row strong{white-space:nowrap}.leader-row strong{text-overflow:ellipsis;min-width:0;overflow:hidden}.leader-row span:nth-child(3),.leader-row span:nth-child(4){justify-self:end}}

