.profile-screen{gap:18px;max-width:540px;margin-inline:auto;display:grid}.profile-screen .head{margin-bottom:0}.profile-identity{align-items:center;gap:16px;margin-bottom:28px;display:flex}.profile-identity>div{min-width:0}.profile-identity .avatar{width:70px;height:70px;font-size:26px}.profile-identity .small{margin-top:5px}.profile-operation{border-top:1px solid var(--line);margin-top:24px;padding-top:24px}.profile-operation h3{font-size:18px;font-weight:600}.profile-themes{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:10px;margin-block:14px 12px;display:grid}.profile-theme{border:1px solid var(--line);border-radius:12px;align-items:center;gap:10px;min-width:0;min-height:48px;padding:12px;font-size:14px;display:flex;position:relative}.profile-theme.on{border-color:var(--accent);background:var(--soft)}.profile-theme-radio{aspect-ratio:auto;border-radius:inherit;width:100%;height:100%;box-shadow:none;z-index:1;background:0 0;border:0;position:absolute;inset:0}.profile-theme-radio [data-slot=radio-group-indicator]{display:none}.profile-theme-radio:focus-visible{outline:3px solid var(--accent);outline-offset:3px;box-shadow:none}.profile-theme>span{pointer-events:none}.profile-theme-swatch{background:var(--accent);border:1px solid color-mix(in srgb, var(--ink) 15%, transparent);border-radius:50%;flex-shrink:0;width:22px;height:22px}.profile-password{margin-top:24px}.profile-status{min-height:20px;margin-top:12px}@media (max-width:360px){.profile-identity{gap:12px}.profile-identity .avatar{width:56px;height:56px}.profile-theme{gap:7px;padding-inline:10px}}.image-upload{min-width:0;margin-block:20px}.image-upload input{white-space:normal;max-width:100%;padding:10px}.image-upload input::file-selector-button{background:var(--soft);color:var(--ink);font:inherit;border:0;border-radius:8px;margin-right:8px;padding:10px}.image-upload-preview{object-fit:cover;border-radius:16px;width:100%;max-height:240px;margin-block:16px}.image-upload-actions{flex-wrap:wrap;gap:8px;margin-top:12px;display:flex}.tag-filter-groups{flex-wrap:wrap;gap:20px;display:flex}.tag-choice-group{border:0;flex:1;min-width:220px;margin:0;padding:0}.tag-choice-group legend{color:var(--quiet);margin-bottom:10px;font-size:13px}.tag-choices{flex-wrap:wrap;gap:8px;display:flex}.tag-choice{border:1px solid var(--line);background:var(--surface);cursor:pointer;overflow-wrap:anywhere;border-radius:24px;align-items:center;gap:8px;max-width:100%;min-height:44px;padding:9px 12px;font-size:14px;display:inline-flex}.tag-choice.on{border-color:var(--accent);background:var(--soft)}.tag-checkbox{background:var(--surface);border-color:var(--line);width:18px;height:18px;color:var(--on-accent)}.tag-checkbox[data-state=checked]{background:var(--accent);border-color:var(--accent)}.tag-choice:has(button:focus-visible){outline:3px solid var(--accent);outline-offset:3px}.tag-filters{margin-bottom:20px}.tag-clear{height:auto;min-height:44px;color:var(--quiet);background:0 0;margin-top:10px;margin-right:16px;padding-inline:0}.tag-filter-skeleton{background:var(--soft);border-radius:14px;height:110px;margin-bottom:20px}.tag-help{margin-block:10px 20px;font-size:14px}.tag-notice{color:var(--accent);margin-bottom:14px;font-size:14px}.tag-editor{border-top:1px solid var(--line);margin-top:22px;padding-top:22px}.tag-editor h3{margin-bottom:12px;font-size:17px;font-weight:600}.tag-editor-rows{gap:8px;display:grid}.tag-editor-row{align-items:center;gap:8px;min-width:0;display:flex}.tag-editor-row>span{overflow-wrap:anywhere;flex:1;min-width:0;font-size:14px}.tag-edit-button{min-height:44px;padding:10px;font-size:13px}.tag-add-form{margin-top:16px}.tag-form-actions{flex-wrap:wrap;gap:8px;display:flex}.pool-item-tags{flex-wrap:wrap;gap:6px;margin-top:12px;display:flex}.pool-item-tag{background:var(--soft);color:var(--quiet);overflow-wrap:anywhere;border-radius:8px;padding:4px 9px;font-size:12px}@media (max-width:700px){.tag-choice-group{min-width:100%}.tag-filter-groups{gap:14px}}.tag-choice{position:relative}.tag-checkbox{opacity:0;border-radius:inherit;width:100%;height:100%;position:absolute;inset:0}.tag-choice>span{pointer-events:none}.tag-choice:has(button:disabled){opacity:.5;cursor:default}.pool-manager{width:100%;min-width:0;max-width:760px}.pool-toolbar{justify-content:space-between;align-items:start;gap:16px;margin-bottom:18px;display:flex}.pool-help{margin-top:8px;font-size:14px}.pool-search{margin-bottom:18px;display:block}.pool-list{gap:14px;display:grid}.pool-card-skeleton{border-radius:var(--round);background:var(--soft);min-height:140px}.pool-item-heading{justify-content:space-between;align-items:start;gap:16px;display:flex}.pool-item h3{overflow-wrap:anywhere;min-width:0;font-size:19px;font-weight:650;line-height:1.35}.pool-weight{background:var(--soft);min-width:36px;color:var(--accent);text-align:center;font-variant-numeric:tabular-nums;border-radius:10px;flex-shrink:0;padding:4px 8px;font-size:14px}.pool-item-description{white-space:pre-wrap;overflow-wrap:anywhere;margin-top:12px;font-size:14px}.pool-item-link{align-items:center;min-height:44px;margin-top:4px;font-size:14px;display:inline-flex}.pool-item-actions{flex-wrap:wrap;gap:8px;margin-top:16px;display:flex}.pool-item-actions button{font-size:14px}.pool-empty{gap:12px;display:grid}.pool-notice{color:var(--accent);margin-bottom:16px;font-size:14px}.pool-back{margin-bottom:16px}.pool-editor{max-width:600px}.pool-editor form{margin-top:24px}.pool-editor textarea{min-height:140px}.pool-assignment{margin:18px 0 24px}.pool-assignment>p{margin-bottom:10px}.pool-delete-dialog{border-color:var(--line);background:var(--surface);color:var(--ink);border-radius:var(--round);max-height:calc(90dvh - env(safe-area-inset-top) - env(safe-area-inset-bottom));overflow-y:auto}.pool-delete-description{color:var(--quiet);overflow-wrap:anywhere}@media (max-width:380px){.pool-toolbar{flex-wrap:wrap}.pool-toolbar>button{width:100%}.pool-item-actions>button{flex:1;min-width:0;padding:12px 10px}}.pool-item-image{object-fit:cover;border-radius:14px;width:100%;height:160px;margin-top:14px}.roulette-screen{--wheel-0:var(--accent);--wheel-1:color-mix(in srgb, var(--accent) 75%, var(--surface));--wheel-2:color-mix(in srgb, var(--accent) 50%, var(--surface));--wheel-3:var(--soft);--wheel-4:color-mix(in srgb, var(--accent) 35%, var(--surface));--wheel-5:color-mix(in srgb, var(--accent) 60%, var(--surface))}.roulette-layout{grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);align-items:start;gap:24px;display:grid}.roulette-panel,.roulette-result{min-width:0}.roulette-wheel-wrap{aspect-ratio:1;width:100%;max-width:380px;margin:26px auto 20px;position:relative}.roulette-wheel{width:100%;height:100%;box-shadow:inset 0 0 0 1px color-mix(in srgb, var(--ink) 8%, transparent);border-radius:50%;transition:transform 2.6s cubic-bezier(.12,.65,.1,1)}.roulette-pointer{z-index:2;border-inline:10px solid #0000;border-top:20px solid var(--ink);filter:drop-shadow(0 2px 2px #0002);width:0;height:0;position:absolute;top:-5px;left:50%;transform:translate(-50%)}.roulette-center{background:var(--surface);width:42%;height:42%;color:var(--quiet);border-radius:50%;align-content:center;justify-items:center;gap:10px;font-size:12px;display:grid;position:absolute;top:29%;left:29%;box-shadow:0 2px 20px #0001}.roulette-explanation{text-align:center;max-width:290px;margin-inline:auto;font-size:13px}.roulette-empty{text-align:center;gap:12px;display:grid}.roulette-empty h2{font-size:21px}.roulette-chances{margin-top:20px;font-size:13px}.roulette-chances summary{min-height:44px;color:var(--accent);cursor:pointer;padding:12px 4px}.roulette-chances summary:focus-visible{outline:3px solid var(--accent);outline-offset:3px;border-radius:10px}.roulette-chances ul{gap:10px;margin:0;padding:0;list-style:none;display:grid}.roulette-chances li{overflow-wrap:anywhere;grid-template-columns:10px minmax(0,1fr) auto;align-items:start;gap:10px;display:grid}.roulette-dot{border-radius:50%;width:10px;height:10px;margin-top:5px}.roulette-result{scroll-margin-top:calc(18px + env(safe-area-inset-top));scroll-margin-bottom:calc(130px + env(safe-area-inset-bottom))}.roulette-result h2{font-size:28px}.roulette-description{white-space:pre-wrap;overflow-wrap:anywhere;margin-top:18px;font-size:15px}.roulette-link{align-items:center;min-height:44px;margin-top:12px;font-size:14px;display:inline-flex}.roulette-result-note{margin-top:22px;font-size:13px}.roulette-result-actions{gap:10px;margin-top:20px;display:grid}.roulette-result-image{object-fit:cover;border-radius:16px;width:100%;height:auto;max-height:280px;margin-top:18px}.roulette-notice{color:var(--accent);margin-bottom:16px;font-size:14px}.roulette-delete-dialog{background:var(--surface);color:var(--ink);border-color:var(--line);border-radius:var(--round);max-height:calc(90dvh - env(safe-area-inset-top) - env(safe-area-inset-bottom));overflow-wrap:anywhere;overflow-y:auto}.roulette-delete-dialog [data-slot=alert-dialog-description]{color:var(--quiet)}.roulette-awaiting{align-content:center;gap:16px;min-height:210px;display:grid}.roulette-awaiting .eyebrow{margin-bottom:0}.roulette-awaiting p.quiet{font-size:14px}@media (max-width:700px){.roulette-layout{grid-template-columns:minmax(0,1fr);gap:18px}.roulette-wheel-wrap{max-width:340px}.roulette-result h2{font-size:25px}.roulette-awaiting{min-height:130px}}@media (prefers-reduced-motion:reduce){.roulette-wheel{transition:none}}.weight-settings{min-width:0}.weight-heading{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;margin-bottom:20px;display:flex}.weight-heading h2{margin-top:4px}.weight-fields{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;display:grid}.weight-fields input{min-width:0;min-height:44px;font-size:16px}.weight-settings form>.small{margin-bottom:16px;line-height:1.6}.weight-operation{border-top:1px solid var(--line);margin-top:24px;padding-top:24px}.weight-operation h3{font-size:18px;font-weight:600}.weight-operation .small{margin-block:8px 16px;line-height:1.6}.weight-settings button,.weight-confirm button{white-space:normal;min-height:44px}.weight-warning{background:var(--soft);border:1px solid var(--line);border-radius:14px;margin-bottom:20px;padding:14px;font-size:14px;line-height:1.6}.weight-refresh{margin-top:14px}.weight-status{min-height:20px;margin-top:14px}.weight-confirm{max-height:calc(100dvh - env(safe-area-inset-top) - env(safe-area-inset-bottom) - 32px);overflow:auto}@media (max-width:360px){.weight-fields{grid-template-columns:minmax(0,1fr);gap:0}}
